Use correct matcher name in the matcher example in assertion docs

This commit is contained in:
Martin Hořeňovský 2024-08-13 19:21:07 +02:00
parent fe483c056d
commit 008676a741
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -110,7 +110,7 @@ Expects that an exception is thrown that, when converted to a string, matches th
e.g. e.g.
```cpp ```cpp
REQUIRE_THROWS_WITH( openThePodBayDoors(), Contains( "afraid" ) && Contains( "can't do that" ) ); REQUIRE_THROWS_WITH( openThePodBayDoors(), ContainsSubstring( "afraid" ) && ContainsSubstring( "can't do that" ) );
REQUIRE_THROWS_WITH( dismantleHal(), "My mind is going" ); REQUIRE_THROWS_WITH( dismantleHal(), "My mind is going" );
``` ```