MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / EndsWithMatcher

Method EndsWithMatcher

test/expected/catch.hpp:11626–11626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11624 }
11625
11626 EndsWithMatcher::EndsWithMatcher( CasedString const& comparator ) : StringMatcherBase( "ends with", comparator ) {}
11627
11628 bool EndsWithMatcher::match( std::string const& source ) const {
11629 return endsWith( m_comparator.adjustString( source ), m_comparator.m_str );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected