Template Function Catch::Matchers::MessageMatches

Function Documentation

template<typename StringMatcherType>
ExceptionMessageMatchesMatcher<StringMatcherType> Catch::Matchers::MessageMatches(StringMatcherType &&matcher)

Creates a matcher that checks whether a message from an std derived exception matches a provided matcher