Skip to content

Commit

Permalink
Compatibility of tests with Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Nov 26, 2024
1 parent 5ebbee9 commit 22d8709
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tl/unit_tests/tlStreamTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,7 @@ TEST(AbstractPathFunctions)
EXPECT_EQ (tl::InputStream::absolute_file_path ("file:xyz"), tl::absolute_file_path ("xyz"));
EXPECT_EQ (tl::InputStream::absolute_file_path ("xyz"), tl::absolute_file_path ("xyz"));
EXPECT_EQ (tl::InputStream::absolute_file_path ("xyz/uvw"), tl::absolute_file_path ("xyz/uvw"));
tl::file_utils_force_linux ();
EXPECT_EQ (tl::InputStream::absolute_file_path ("/xyz/uvw"), "/xyz/uvw");
EXPECT_EQ (tl::InputStream::absolute_file_path ("/xyz/uvw"), tl::absolute_file_path ("/xyz/uvw"));
tl::file_utils_force_windows ();
EXPECT_EQ (tl::InputStream::absolute_file_path ("xyz\\uvw"), tl::absolute_file_path ("xyz\\uvw"));
EXPECT_EQ (tl::InputStream::absolute_file_path ("\\\\server\\xyz\\uvw"), "\\\\server\\xyz\\uvw");
Expand Down

0 comments on commit 22d8709

Please sign in to comment.