diff options
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r-- | Tests/CMakeLib/testCMFilesystemPath.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testCMFilesystemPath.cxx b/Tests/CMakeLib/testCMFilesystemPath.cxx index 1e84520..ee0ef0b 100644 --- a/Tests/CMakeLib/testCMFilesystemPath.cxx +++ b/Tests/CMakeLib/testCMFilesystemPath.cxx @@ -606,6 +606,9 @@ bool testDecomposition() if (fs::path("c:/a/b").parent_path() != "c:/a") { result = false; } + if (fs::path("c:a").parent_path() != "c:") { + result = false; + } if (fs::path("c:/").parent_path() != "c:/") { result = false; } |