diff --git a/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp b/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp index 07bb1b6..c152c69 100644 --- a/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp +++ b/test/optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_fail.cpp @@ -17,7 +17,7 @@ int main() { - BOOST_ERROR("failed as requested"); + static_assert(false, "failed as requested"); return boost::report_errors(); }