Commit 9d651e05 by Patrick Steinhardt

tests: network::refspecs: add missing assert when parsing refspec

parent b3923cf7
......@@ -93,7 +93,7 @@ static void assert_valid_transform(const char *refspec, const char *name, const
git_refspec spec;
git_buf buf = GIT_BUF_INIT;
git_refspec__parse(&spec, refspec, true);
cl_git_pass(git_refspec__parse(&spec, refspec, true));
cl_git_pass(git_refspec_transform(&buf, &spec, name));
cl_assert_equal_s(result, buf.ptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment