mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 22:21:37 +00:00
env test needs to deref git_buf's ptr
This commit is contained in:
parent
85a41fc4bf
commit
fdc54eb2fb
@ -240,7 +240,7 @@ static void check_global_searchpath(
|
|||||||
else if (position > 0)
|
else if (position > 0)
|
||||||
cl_assert(git__suffixcmp(out.ptr, path) == 0);
|
cl_assert(git__suffixcmp(out.ptr, path) == 0);
|
||||||
else
|
else
|
||||||
cl_assert_equal_s(out, path);
|
cl_assert_equal_s(out.ptr, path);
|
||||||
|
|
||||||
/* find file using new path */
|
/* find file using new path */
|
||||||
cl_git_pass(git_sysdir_find_global_file(temp, file));
|
cl_git_pass(git_sysdir_find_global_file(temp, file));
|
||||||
|
Loading…
Reference in New Issue
Block a user