| 1034 | }; |
| 1035 | |
| 1036 | struct EvilCommaOperatorUsed : std::exception { |
| 1037 | const char* what() const noexcept override { |
| 1038 | return "overloaded comma operator of matcher was used"; |
| 1039 | } |
| 1040 | }; |
| 1041 | |
| 1042 | struct EvilMatcher : Catch::Matchers::MatcherGenericBase { |
| 1043 | std::string describe() const override { return "equals: 45"; } |