summaryrefslogtreecommitdiff
path: root/tests/describe/describe_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/describe/describe_helpers.c')
-rw-r--r--tests/describe/describe_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/describe/describe_helpers.c b/tests/describe/describe_helpers.c
index 7a6a73cb8..ad9c945c7 100644
--- a/tests/describe/describe_helpers.c
+++ b/tests/describe/describe_helpers.c
@@ -16,7 +16,7 @@ void assert_describe(
cl_git_pass(git_describe_commit(&result, object, opts));
cl_git_pass(git_describe_format(&label, result, fmt_opts));
- cl_git_pass(p_fnmatch(expected_output, git_buf_cstr(&label), 0));
+ cl_must_pass(p_fnmatch(expected_output, git_buf_cstr(&label), 0));
git_describe_result_free(result);
git_object_free(object);
@@ -35,7 +35,7 @@ void assert_describe_workdir(
cl_git_pass(git_describe_workdir(&result, repo, opts));
cl_git_pass(git_describe_format(&label, result, fmt_opts));
- cl_git_pass(p_fnmatch(expected_output, git_buf_cstr(&label), 0));
+ cl_must_pass(p_fnmatch(expected_output, git_buf_cstr(&label), 0));
git_describe_result_free(result);
git_buf_free(&label);