diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-09 14:11:31 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-10-09 14:11:31 +0300 |
commit | 2dc71394ce186d6dd0850dcd7f4e7825225039b9 (patch) | |
tree | c6577ec8d93e84164700df7eb7505e00cf6d7bb2 /test | |
parent | 04826c2e67404ec63782a0025b929c7d717ea1fd (diff) |
More wip path_view refactor to meet latest P1030R4, now working on MSVC, not yet working on POSIX.
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/path_view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tests/path_view.cpp b/test/tests/path_view.cpp index f983b734..b737fb98 100644 --- a/test/tests/path_view.cpp +++ b/test/tests/path_view.cpp @@ -162,9 +162,9 @@ static inline void TestPathView() BOOST_CHECK(0 == g.compare<>("\\mnt\\c\\Users\\ned\\Documents\\boostish\\afio\\programs\\build_posix\\testdir")); BOOST_CHECK(0 == h.compare<>("0")); // cstr - llfio::path_view::c_str<> i(g, llfio::path_view::not_zero_terminated); + llfio::path_view::c_str<> i(g, llfio::path_view::zero_terminated); BOOST_CHECK(i.buffer != p2); - llfio::path_view::c_str<> j(g, llfio::path_view::zero_terminated); + llfio::path_view::c_str<> j(g, llfio::path_view::not_zero_terminated); BOOST_CHECK(j.buffer == p2); llfio::path_view::c_str<> k(h, llfio::path_view::not_zero_terminated); BOOST_CHECK(k.buffer == p2 + 70); |