diff --git a/string/test/split_test.cpp b/string/test/split_test.cpp index f65310a..8e058e7 100644 --- a/string/test/split_test.cpp +++ b/string/test/split_test.cpp @@ -44,7 +44,17 @@ void iterator_test() vector tokens; vector< vector > vtokens; - ifind_all( + // find_all tests + find_all( + tokens, + pch1, + "xx" ); + + BOOST_REQUIRE( tokens.size()==2 ); + BOOST_CHECK( tokens[0]==string("xx") ); + BOOST_CHECK( tokens[1]==string("xx") ); + + ifind_all( tokens, str2, "xx" ); @@ -53,7 +63,6 @@ void iterator_test() BOOST_CHECK( tokens[0]==string("Xx") ); BOOST_CHECK( tokens[1]==string("xX") ); - // find_all tests find_all( tokens, str1, @@ -63,7 +72,6 @@ void iterator_test() BOOST_CHECK( tokens[0]==string("xx") ); BOOST_CHECK( tokens[1]==string("xx") ); - find_all( vtokens, str1,