diff options
author | Russell Belfer <rb@github.com> | 2014-03-24 10:58:10 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-03-24 10:58:10 -0700 |
commit | f210cb5b1442f82e2f930909d8430f7cc6661c5f (patch) | |
tree | 2698c6b1d56483a01319b1dbb263ace434384031 | |
parent | 85a41fc4bf148dc954fa8124b61355ee648c40ba (diff) | |
parent | fdc54eb2fb4cf9759552eb3be137100627e0585b (diff) | |
download | libgit2-f210cb5b1442f82e2f930909d8430f7cc6661c5f.tar.gz |
Merge pull request #2201 from ethomson/gitbuf_test_fix
env test needs to deref git_buf's ptr
-rw-r--r-- | tests/core/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |