mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-25 06:32:19 +00:00
path: enhance git_path_dirname_r() test coverage
This commit is contained in:
parent
7382551ff7
commit
34b6f05f39
@ -87,6 +87,11 @@ void test_core_path__00_dirname(void)
|
|||||||
check_dirname(".git/", ".");
|
check_dirname(".git/", ".");
|
||||||
|
|
||||||
check_dirname(REP16("/abc"), REP15("/abc"));
|
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 */
|
/* get the base name of a path */
|
||||||
|
Loading…
Reference in New Issue
Block a user