diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-02 16:57:16 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-02 16:57:16 -0700 |
| commit | b02bcd97f80beabc96cd1f861bfc3b5f7532ef8b (patch) | |
| tree | bd83ac195983092221f2606dd6dac9d11434fb11 /tests-clar/refs/pack.c | |
| parent | 17f1c9fb332d054285452313f0ec537dfde63d1c (diff) | |
| download | libgit2-b02bcd97f80beabc96cd1f861bfc3b5f7532ef8b.tar.gz | |
Boom
Diffstat (limited to 'tests-clar/refs/pack.c')
| -rw-r--r-- | tests-clar/refs/pack.c | 4 |
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); |
