Commit f210cb5b by Russell Belfer

Merge pull request #2201 from ethomson/gitbuf_test_fix

env test needs to deref git_buf's ptr
parents 85a41fc4 fdc54eb2
......@@ -240,7 +240,7 @@ static void check_global_searchpath(
else if (position > 0)
cl_assert(git__suffixcmp(out.ptr, path) == 0);
else
cl_assert_equal_s(out, path);
cl_assert_equal_s(out.ptr, path);
/* find file using new path */
cl_git_pass(git_sysdir_find_global_file(temp, file));
......
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