summaryrefslogtreecommitdiff
path: root/tests-clar/refs/pack.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-02 16:57:16 -0700
committerVicent Martí <tanoku@gmail.com>2012-05-02 16:57:16 -0700
commitb02bcd97f80beabc96cd1f861bfc3b5f7532ef8b (patch)
treebd83ac195983092221f2606dd6dac9d11434fb11 /tests-clar/refs/pack.c
parent17f1c9fb332d054285452313f0ec537dfde63d1c (diff)
downloadlibgit2-b02bcd97f80beabc96cd1f861bfc3b5f7532ef8b.tar.gz
Boom
Diffstat (limited to 'tests-clar/refs/pack.c')
-rw-r--r--tests-clar/refs/pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/refs/pack.c b/tests-clar/refs/pack.c
index d50635670..305594c28 100644
--- a/tests-clar/refs/pack.c
+++ b/tests-clar/refs/pack.c
@@ -51,7 +51,7 @@ void test_refs_pack__loose(void)
/* Ensure the packed-refs file exists */
cl_git_pass(git_buf_joinpath(&temp_path, g_repo->path_repository, GIT_PACKEDREFS_FILE));
- cl_git_pass(git_path_exists(temp_path.ptr));
+ cl_assert(git_path_exists(temp_path.ptr));
/* Ensure the known ref can still be looked up but is now packed */
cl_git_pass(git_reference_lookup(&reference, g_repo, loose_tag_ref_name));
@@ -60,7 +60,7 @@ void test_refs_pack__loose(void)
/* Ensure the known ref has been removed from the loose folder structure */
cl_git_pass(git_buf_joinpath(&temp_path, g_repo->path_repository, loose_tag_ref_name));
- cl_git_pass(!git_path_exists(temp_path.ptr));
+ cl_assert(!git_path_exists(temp_path.ptr));
git_reference_free(reference);
git_buf_free(&temp_path);