diff options
author | The rugged tests are fragile <tanoku@gmail.com> | 2014-09-17 14:52:31 +0200 |
---|---|---|
committer | The rugged tests are fragile <tanoku@gmail.com> | 2014-09-17 15:00:12 +0200 |
commit | bbb988a5190be2a8763c60cb37c52466a39f6441 (patch) | |
tree | 691ad5fcfc3097bf2d593d280fa64f808b27dbf5 /tests/path | |
parent | 1312f87b6838649cca525935656c84c7bd07a9a1 (diff) | |
download | libgit2-bbb988a5190be2a8763c60cb37c52466a39f6441.tar.gz |
path: Fix `git_path_walk_up` to work with non-rooted paths
Diffstat (limited to 'tests/path')
-rw-r--r-- | tests/path/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/path/core.c b/tests/path/core.c index be63e309b..45f54df29 100644 --- a/tests/path/core.c +++ b/tests/path/core.c @@ -16,8 +16,6 @@ static void test_make_relative( void test_path_core__make_relative(void) { - git_buf buf = GIT_BUF_INIT; - test_make_relative("foo.c", "/path/to/foo.c", "/path/to", 0); test_make_relative("bar/foo.c", "/path/to/bar/foo.c", "/path/to", 0); test_make_relative("foo.c", "/path/to/foo.c", "/path/to/", 0); |