Function match

Synopsis

#include <include/internal/catch_matchers_string.h>

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

Description

No description yet.

Source

Lines 69-71 in include/internal/catch_matchers_string.cpp. Line 48 in include/internal/catch_matchers_string.h.

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





Add Discussion as Guest

Log in