Function match

Synopsis

#include <include/internal/catch_matchers_exception.hpp>

bool match(std::exception const &ex) const override

Description

No description yet.

Source

Lines 15-17 in include/internal/catch_matchers_exception.cpp. Line 24 in include/internal/catch_matchers_exception.hpp.

bool ExceptionMessageMatcher::match(std::exception const& ex) const {
    return ex.what() == m_message;
}





Add Discussion as Guest

Log in