File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -271,12 +271,6 @@ void github_issue_223()
271271 BOOST_TEST (v.size () == 1 );
272272 BOOST_TEST (v == std::vector<char >({' y' }));
273273
274- std::cout << " v.size()=" << v.size () << " \n " ;
275- for (auto c : v) {
276- std::cout << std::hex << (int )c << ' ' ;
277- }
278- std::cout << " \n " ;
279-
280274 // the assert fails since there are two elements in the vector: '\0'
281275 // and 'y'. Seems pretty surprising to me
282276 }
@@ -287,7 +281,7 @@ void github_issue_223()
287281 const auto result = bp::parse (" xy" , parser, bp::ws);
288282
289283 BOOST_TEST (result->size () == 1 );
290- BOOST_TEST (*result == std::vector<std::optional< char >>({ ' y' }) );
284+ BOOST_TEST (*(* result)[ 0 ] == ' y' );
291285
292286 // success, the vector has only one 'y' element
293287 }
You can’t perform that action at this time.
0 commit comments