From 34b6f05f3984cad3ec05c6018828472356c45e28 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Wed, 26 Dec 2012 11:59:07 +0100 Subject: [PATCH] path: enhance git_path_dirname_r() test coverage --- tests-clar/core/path.c | 5 +++++ 1 file changed, 5 insertions(+) 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 */