MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / EqualsMatcher

Method EqualsMatcher

unittests/catch.hpp:8067–8067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8065 }
8066
8067 EqualsMatcher::EqualsMatcher( CasedString const& comparator ) : StringMatcherBase( "equals", comparator ) {}
8068
8069 bool EqualsMatcher::match( std::string const& source ) const {
8070 return m_comparator.adjustString( source ) == m_comparator.m_str;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected