Commit 96f12e70 by Edward Thomson

Don't strcmp a git_buf, strcmp its char *

parent cd4aa602
......@@ -233,7 +233,7 @@ void test_network_remote_remotes__transform(void)
git_buf ref = GIT_BUF_INIT;
cl_git_pass(git_refspec_transform(&ref, _refspec, "refs/heads/master"));
cl_assert_equal_s(ref, "refs/remotes/test/master");
cl_assert_equal_s(ref.ptr, "refs/remotes/test/master");
git_buf_free(&ref);
}
......
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