Skip to content

Commit

Permalink
Fixed path_test_v3 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastique committed Jun 13, 2021
1 parent 25684a2 commit ac9d623
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/path_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ void query_and_decomposition_tests()
PATH_TEST_EQ(p.parent_path().string(), "\\\\?\\c:");
PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
#if BOOST_FILESYSTEM_VERSION == 3
PATH_TEST_EQ(p.filename(), "\\\\?\\c:\\");
PATH_TEST_EQ(p.filename(), "\\");
#else
PATH_TEST_EQ(p.filename(), "");
#endif
Expand All @@ -1574,7 +1574,7 @@ void query_and_decomposition_tests()
PATH_TEST_EQ(p.parent_path().string(), "\\\\.\\c:");
PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
#if BOOST_FILESYSTEM_VERSION == 3
PATH_TEST_EQ(p.filename(), "\\\\.\\c:\\");
PATH_TEST_EQ(p.filename(), "\\");
#else
PATH_TEST_EQ(p.filename(), "");
#endif
Expand All @@ -1598,7 +1598,7 @@ void query_and_decomposition_tests()
PATH_TEST_EQ(p.parent_path().string(), "\\??\\c:");
PATH_TEST_EQ(q.remove_filename().string(), p.parent_path().string());
#if BOOST_FILESYSTEM_VERSION == 3
PATH_TEST_EQ(p.filename(), "\\??\\c:\\");
PATH_TEST_EQ(p.filename(), "\\");
#else
PATH_TEST_EQ(p.filename(), "");
#endif
Expand Down

0 comments on commit ac9d623

Please sign in to comment.