From fdc54eb2fb4cf9759552eb3be137100627e0585b Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 24 Mar 2014 10:56:11 -0700 Subject: [PATCH] env test needs to deref git_buf's ptr --- tests/core/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/env.c b/tests/core/env.c index 4383d9695..b01ad1c24 100644 --- a/tests/core/env.c +++ b/tests/core/env.c @@ -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));