Skip to content

Commit fdc54eb

Browse files
author
Edward Thomson
committed
env test needs to deref git_buf's ptr
1 parent 85a41fc commit fdc54eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/core/env.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static void check_global_searchpath(
240240
else if (position > 0)
241241
cl_assert(git__suffixcmp(out.ptr, path) == 0);
242242
else
243-
cl_assert_equal_s(out, path);
243+
cl_assert_equal_s(out.ptr, path);
244244

245245
/* find file using new path */
246246
cl_git_pass(git_sysdir_find_global_file(temp, file));

0 commit comments

Comments
 (0)