diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-12-26 11:59:07 +0100 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-12-26 11:59:07 +0100 |
commit | 34b6f05f3984cad3ec05c6018828472356c45e28 (patch) | |
tree | fbb550dc3baa39ac14822e3387417057572ee79f | |
parent | 7382551ff75fd7890752d3c64de85dc99115449e (diff) | |
download | libgit2-34b6f05f3984cad3ec05c6018828472356c45e28.tar.gz |
path: enhance git_path_dirname_r() test coverage
-rw-r--r-- | tests-clar/core/path.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests-clar/core/path.c b/tests-clar/core/path.c index 864393b70..e2f78ea50 100644 --- a/tests-clar/core/path.c +++ b/tests-clar/core/path.c @@ -87,6 +87,11 @@ void test_core_path__00_dirname(void) check_dirname(".git/", "."); check_dirname(REP16("/abc"), REP15("/abc")); + +#ifdef GIT_WIN32 + check_dirname("C:/path/", "C:/"); + check_dirname("C:/path", "C:/"); +#endif } /* get the base name of a path */ |