Function match

Synopsis

#include <include/internal/catch_matchers_string.h>

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

Description

No description yet.

Source

Lines 62-64 in include/internal/catch_matchers_string.cpp. Line 44 in include/internal/catch_matchers_string.h.

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





Add Discussion as Guest

Log in