Function match

Synopsis

#include <include/internal/catch_matchers_string.h>

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

Description

No description yet.

Source

Lines 55-57 in include/internal/catch_matchers_string.cpp. Line 40 in include/internal/catch_matchers_string.h.

bool EqualsMatcher::match( std::string const& source ) const {
    return m_comparator.adjustString( source ) == m_comparator.m_str;
}





Add Discussion as Guest

Log in