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:
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);