diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-06-11 18:26:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-11 18:26:22 +0100 |
| commit | 3be7301151e44537d2423386dc71f1d3e496c664 (patch) | |
| tree | 655ff1fc09e227c77a1c8853706e5180a78f5a50 /tests/path | |
| parent | e6444dacb88e29e75fee81a87d1876db77d43362 (diff) | |
| parent | ecf4f33a4e327a91496f72816f9f02d923e5af05 (diff) | |
| download | libgit2-3be7301151e44537d2423386dc71f1d3e496c664.tar.gz | |
Merge pull request #4436 from pks-t/pks/packfile-stream-free
pack: rename `git_packfile_stream_free`
Diffstat (limited to 'tests/path')
| -rw-r--r-- | tests/path/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/path/core.c b/tests/path/core.c index 0ab41ea50..bbcded083 100644 --- a/tests/path/core.c +++ b/tests/path/core.c @@ -11,7 +11,7 @@ static void test_make_relative( git_buf_puts(&buf, path); cl_assert_equal_i(expected_status, git_path_make_relative(&buf, parent)); cl_assert_equal_s(expected_path, buf.ptr); - git_buf_free(&buf); + git_buf_dispose(&buf); } void test_path_core__make_relative(void) @@ -319,7 +319,7 @@ static void test_join_unrooted( cl_assert_equal_s(expected_result, result.ptr); cl_assert_equal_i(expected_rootlen, root_at); - git_buf_free(&result); + git_buf_dispose(&result); } void test_path_core__join_unrooted(void) @@ -350,5 +350,5 @@ void test_path_core__join_unrooted(void) /* Trailing slash in the base is ignored */ test_join_unrooted("c:/foo/bar/foobar", 6, "c:/foo/bar/foobar", "c:/foo/"); - git_buf_free(&out); + git_buf_dispose(&out); } |
