summaryrefslogtreecommitdiff
path: root/test/windows_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-11 16:09:20 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-11 16:09:20 +0200
commit980336455724bbdb73f3fb3d521e36c71f9345e5 (patch)
tree9f90282b529952d450955736f0cfd671f3315c89 /test/windows_test.cc
parent60b80e1051c8c20ebce4b757d3fb67491dfdb79d (diff)
Don't apply the Windows long path fix twice.v2.15.147
Diffstat (limited to 'test/windows_test.cc')
-rw-r--r--test/windows_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/windows_test.cc b/test/windows_test.cc
index 4d07d5fdf..bc9520bc3 100644
--- a/test/windows_test.cc
+++ b/test/windows_test.cc
@@ -35,6 +35,8 @@ BOOST_AUTO_TEST_CASE (fix_long_path_test)
fixed_bar += boost::filesystem::current_path();
fixed_bar /= "bar";
BOOST_CHECK_EQUAL (fix_long_path("bar"), fixed_bar);
+
+ BOOST_CHECK_EQUAL (fix_long_path("\\\\?\\c:\\foo"), "\\\\?\\c:\\foo");
#else
BOOST_CHECK_EQUAL (fix_long_path("foo/bar/baz"), "foo/bar/baz");
#endif