diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-20 14:05:10 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-20 14:05:10 +0300 |
commit | 86821fa3370eb75b90bd6b0963eab7f28585d8e8 (patch) | |
tree | 77221c3016b603592bac4ead2de3da6692e1f111 /test | |
parent | 18edb99d1a3c564e68099b79896160a1c8be0270 (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.cpp | 4 |
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")); |