Function match

Synopsis

#include <include/internal/catch_matchers_string.h>

bool match(std::string const &source) const override

Description

No description yet.

Source

Lines 76-78 in include/internal/catch_matchers_string.cpp. Line 52 in include/internal/catch_matchers_string.h.

bool EndsWithMatcher::match( std::string const& source ) const {
    return endsWith( m_comparator.adjustString( source ), m_comparator.m_str );
}





Add Discussion as Guest

Log in