@@ -1272,11 +1272,11 @@ struct parser_test
12721272 }
12731273 if (pr_->is_complete ())
12741274 {
1275- BOOST_TEST_EQ (pr_->body (), sb_);
1275+ BOOST_TEST (pr_->body () == sb_);
12761276 // this should be a no-op
12771277 read (*pr_, in, ec);
12781278 BOOST_TEST (! ec.failed ());
1279- BOOST_TEST_EQ (pr_->body (), sb_);
1279+ BOOST_TEST (pr_->body () == sb_);
12801280 return ;
12811281 }
12821282 read (*pr_, in, ec);
@@ -1288,11 +1288,11 @@ struct parser_test
12881288 }
12891289 if (! BOOST_TEST (pr_->is_complete ()))
12901290 return ;
1291- BOOST_TEST_EQ (pr_->body (), sb_);
1291+ BOOST_TEST (pr_->body () == sb_);
12921292 // this should be a no-op
12931293 read (*pr_, in, ec);
12941294 BOOST_TEST (! ec.failed ());
1295- BOOST_TEST_EQ (pr_->body (), sb_);
1295+ BOOST_TEST (pr_->body () == sb_);
12961296 }
12971297
12981298 void
@@ -1325,13 +1325,13 @@ struct parser_test
13251325 if (! BOOST_TEST (pr_->is_complete ()))
13261326 return ;
13271327 }
1328- BOOST_TEST_EQ (
1329- test_to_string (fb.data ()), sb_);
1328+ BOOST_TEST (
1329+ test_to_string (fb.data ()) == sb_);
13301330 // this should be a no-op
13311331 read (*pr_, in, ec);
13321332 BOOST_TEST (! ec.failed ());
1333- BOOST_TEST_EQ (
1334- test_to_string (fb.data ()), sb_);
1333+ BOOST_TEST (
1334+ test_to_string (fb.data ()) == sb_);
13351335 }
13361336
13371337 void
@@ -1362,11 +1362,11 @@ struct parser_test
13621362 if (! BOOST_TEST (pr_->is_complete ()))
13631363 return ;
13641364 }
1365- BOOST_TEST_EQ (ts.s , sb_);
1365+ BOOST_TEST (ts.s == sb_);
13661366 // this should be a no-op
13671367 read (*pr_, in, ec);
13681368 BOOST_TEST (! ec.failed ());
1369- BOOST_TEST_EQ (ts.s , sb_);
1369+ BOOST_TEST (ts.s == sb_);
13701370 }
13711371
13721372
@@ -1642,7 +1642,7 @@ struct parser_test
16421642 BOOST_TEST (pr.is_complete ());
16431643
16441644 auto str = pr.body ();
1645- BOOST_TEST_EQ (str, " hello, world!" );
1645+ BOOST_TEST (str == " hello, world!" );
16461646 }
16471647
16481648 {
@@ -1674,7 +1674,7 @@ struct parser_test
16741674 read (pr, in2, ec);
16751675 BOOST_TEST (! ec.failed ());
16761676 BOOST_TEST (pr.is_complete ());
1677- BOOST_TEST_EQ (pr.body (), " hello, world!" );
1677+ BOOST_TEST (pr.body () == " hello, world!" );
16781678 }
16791679
16801680 {
@@ -1755,9 +1755,9 @@ struct parser_test
17551755 system::error_code ec;
17561756 read (pr, in, ec);
17571757 BOOST_TEST (pr.is_complete ());
1758- BOOST_TEST_EQ (
1759- pr.body (),
1760- " hello, world! and this is a much longer string of text" );
1758+ BOOST_TEST (
1759+ pr.body () ==
1760+ " hello, world! and this is a much longer string of text" );
17611761 }
17621762
17631763 {
@@ -1841,9 +1841,9 @@ struct parser_test
18411841
18421842 read (pr, in, ec);
18431843 BOOST_TEST (pr.is_complete ());
1844- BOOST_TEST_EQ (
1845- pr.body (),
1846- " hello, world! and this is a much longer string of text" );
1844+ BOOST_TEST (
1845+ pr.body () ==
1846+ " hello, world! and this is a much longer string of text" );
18471847 }
18481848 }
18491849 }
0 commit comments