From 980336455724bbdb73f3fb3d521e36c71f9345e5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 May 2021 16:09:20 +0200 Subject: Don't apply the Windows long path fix twice. --- test/windows_test.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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 -- cgit v1.2.3