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-10-09 14:11:31 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-10-09 14:11:31 +0300
commit2dc71394ce186d6dd0850dcd7f4e7825225039b9 (patch)
treec6577ec8d93e84164700df7eb7505e00cf6d7bb2 /test
parent04826c2e67404ec63782a0025b929c7d717ea1fd (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.cpp4
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);