Lines Matching +defs:format +defs:message
39 // When printing the assertion message to `stderr`, delimit it with a marker to make it easier to match the message
43 // (success, error-message-if-failed)
48 // Extract information from the error message. This has to stay synchronized with how we format assertions in the
66 << "Expected message: '" << expected_message.data() << "'\n" //
67 << "Actual message: '" << assertion_message.c_str() << "'\n" //
168 return "unexpected error message";
221 auto failure_description = std::string("Child died, but with a different error message\n") + match_result.second;
337 void std::__libcpp_verbose_abort(char const* format, ...) noexcept {
339 va_start(args, format);
342 std::vfprintf(stderr, format, args);
381 // clang-format off
383 /// Assert that the specified expression aborts with the expected cause and, optionally, error message.
396 #define TEST_LIBCPP_ASSERT_FAILURE(expr, message) \
397 assert(( ExpectDeath(DeathCause::VerboseAbort, #expr, [&]() { (void)(expr); }, MakeAssertionMessageMatcher(message)) ))
399 #define TEST_LIBCPP_ASSERT_FAILURE(expr, message) \
403 // clang-format on