diff options
author | Brad King <brad.king@kitware.com> | 2020-09-22 12:03:45 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-09-22 12:03:51 (GMT) |
commit | 44c5f5d4ecbf0b11586ffd5abbc57375106b715e (patch) | |
tree | 25b3f031d291ed2ff383837a118e01088b4c8c44 /Tests | |
parent | 2c896c381ba1031b888b6896b89cf13ae5948889 (diff) | |
parent | 82c95083133475531d7f0e00b9e2e36bd0294739 (diff) | |
download | CMake-44c5f5d4ecbf0b11586ffd5abbc57375106b715e.zip CMake-44c5f5d4ecbf0b11586ffd5abbc57375106b715e.tar.gz CMake-44c5f5d4ecbf0b11586ffd5abbc57375106b715e.tar.bz2 |
Merge topic 'cmake_path-updates'
82c9508313 cmake_path: enhancements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5245
Diffstat (limited to 'Tests')
-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; } |