Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-11-20 14:05:10 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-11-20 14:05:10 +0300
commit86821fa3370eb75b90bd6b0963eab7f28585d8e8 (patch)
tree77221c3016b603592bac4ead2de3da6692e1f111 /test
parent18edb99d1a3c564e68099b79896160a1c8be0270 (diff)
Fix unit test failures, and regress Windows CI testing to VS2017 as VS2019 latest ICEs.
Diffstat (limited to 'test')
-rw-r--r--test/tests/path_view.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tests/path_view.cpp b/test/tests/path_view.cpp
index a0880ebc..16b917df 100644
--- a/test/tests/path_view.cpp
+++ b/test/tests/path_view.cpp
@@ -115,7 +115,11 @@ static inline void TestPathView()
llfio::path_view e(p); // NOLINT
llfio::path_view f(e.filename());
e = e.remove_filename();
+#ifdef _WIN32
BOOST_CHECK(0 == e.compare<>("/mnt/c/Users/ned/Documents/boostish/afio/programs/build_posix/testdir/"));
+#else
+ BOOST_CHECK(0 == e.compare<>("/mnt/c/Users/ned/Documents/boostish/afio/programs/build_posix/testdir"));
+#endif
BOOST_CHECK(0 == f.compare<>("0"));
// Trailing
BOOST_CHECK(0 == llfio::path_view("/a/b/").without_trailing_separator().compare<>("/a/b"));