9namespace CppSpec::Matchers {
11template <std::ranges::range A, std::ranges::range E>
12class EndWith :
public MatcherBase<A, E> {
14 EndWith(
Expectation<A>& expectation, E start) : MatcherBase<A, E>(expectation, start) {}
16 std::string verb()
override {
return "end with"; }
18 bool match()
override {
19 A& actual = this->actual();
12class EndWith :
public MatcherBase<A, E> {
…};
Wraps the target of an expectation.
Definition expectation.hpp:47
Definition have_error.hpp:9
Contains the base class for all Matchers.