@@ -142,14 +142,14 @@ BOOST_AUTO_TEST_CASE(string__split0__true_compress__trimmed_compressed)
142142{
143143 const std::string value{ " \t\r\n abc " };
144144 const string_list expected{ " abc" };
145- BOOST_REQUIRE_EQUAL (system::split (value, true ), expected);
145+ BOOST_REQUIRE_EQUAL (system::split (value), expected);
146146}
147147
148148BOOST_AUTO_TEST_CASE (string__split0__false_compress__trimmed)
149149{
150150 const std::string value{ " abc \t\r\n " };
151151 const string_list expected{ " abc" };
152- BOOST_REQUIRE_EQUAL (system::split (value, false ), expected);
152+ BOOST_REQUIRE_EQUAL (system::split (value, ascii_whitespace, ascii_whitespace, false ), expected);
153153}
154154
155155// split1
@@ -589,7 +589,7 @@ BOOST_AUTO_TEST_CASE(string__replace__with_spaces__expected)
589589 BOOST_REQUIRE_EQUAL (replace (value, " c" , " " ), 2u );
590590 BOOST_REQUIRE_EQUAL (value, expected3);
591591 const string_list expected4{ " def" , " " , " " , " " , " " , " def" };
592- BOOST_REQUIRE_EQUAL (split (value, false ), expected4);
592+ BOOST_REQUIRE_EQUAL (split (value, ascii_whitespace, ascii_whitespace, false ), expected4);
593593}
594594
595595// replace_copy
0 commit comments