mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-30 10:47:36 +02:00
Use correct matcher name in the matcher example in assertion docs
This commit is contained in:
@ -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" );
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user