From 420a262733b11d3d555b675266c0485d86028bc9 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 2 Oct 2021 17:25:31 +0300 Subject: [PATCH] Fix warnings_test.cpp --- test/Jamfile.v2 | 4 ++-- test/warnings_test.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); }