Commit 66af84494c6e64dcb93f8a5b7edd42616faee0a7

Vicent Marti 2014-01-29T12:57:42

Merge pull request #2086 from ethomson/fixup Don't strcmp a git_buf, strcmp its char *

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/network/remote/remotes.c b/tests/network/remote/remotes.c
index 09963e8..fe40d10 100644
--- a/tests/network/remote/remotes.c
+++ b/tests/network/remote/remotes.c
@@ -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);
 }