diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index cde8abd..9c1cc4b 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -73,8 +73,8 @@ system-run failed_constexpr_test.cpp ; # Quick (CI) test run quick.cpp ; -compile warnings_test.cpp - : pedantic +run warnings_test.cpp + : : : pedantic msvc:on gcc:on clang:on ; diff --git a/test/warnings_test.cpp b/test/warnings_test.cpp index 763cf06..8fbe4d4 100644 --- a/test/warnings_test.cpp +++ b/test/warnings_test.cpp @@ -46,7 +46,7 @@ int main() boost::system::system_error x( bc, "prefix" ); BOOST_TEST_EQ( x.code(), bc ); - BOOST_TEST_EQ( std::string( x.what() ), "prefix: " + bc.message() ); + BOOST_TEST_EQ( std::string( x.what() ), "prefix: " + bc.what() ); return boost::report_errors(); }