Skip to content

Commit 9d651e0

Browse files
committed
tests: network::refspecs: add missing assert when parsing refspec
1 parent b3923cf commit 9d651e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/network/refspecs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static void assert_valid_transform(const char *refspec, const char *name, const
9393
git_refspec spec;
9494
git_buf buf = GIT_BUF_INIT;
9595

96-
git_refspec__parse(&spec, refspec, true);
96+
cl_git_pass(git_refspec__parse(&spec, refspec, true));
9797
cl_git_pass(git_refspec_transform(&buf, &spec, name));
9898
cl_assert_equal_s(result, buf.ptr);
9999

0 commit comments

Comments
 (0)