diff options
Diffstat (limited to 'test/test_filesystem.c')
-rw-r--r-- | test/test_filesystem.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_filesystem.c b/test/test_filesystem.c index 01ca5ae..4faaf15 100644 --- a/test/test_filesystem.c +++ b/test/test_filesystem.c @@ -55,6 +55,13 @@ test_path_is_absolute(void) assert(!lilv_path_is_absolute("a/b")); assert(!lilv_path_is_absolute("a")); assert(!lilv_path_is_absolute(".")); + +#ifdef _WIN32 + assert(lilv_path_is_absolute("C:/a/b")); + assert(lilv_path_is_absolute("C:\\a\\b")); + assert(lilv_path_is_absolute("D:/a/b")); + assert(lilv_path_is_absolute("D:\\a\\b")); +#endif } static void |