Fix typo if -> of (thanks to Uwe Dittes)
[dcpomatic.git] / test / windows_test.cc
index 4d07d5fdfd9335722360a8089ec54a462d3d7217..bc9520bc33abc2d5edd013b257e1cacc420a4441 100644 (file)
@@ -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