diff options
| author | Martin Hořeňovský | 2024-08-13 19:21:07 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2024-08-13 19:21:07 +0200 |
| commit | 008676a7419c27116736b0721ce7e119eebf088d (patch) | |
| tree | a256c102bf5150c39d78b4b7a908f1aa99fd2456 | |
| parent | fe483c056d9516d3550519c29fbf14a4d84d06d4 (diff) | |
| download | catch3-008676a7419c27116736b0721ce7e119eebf088d.tar.gz | |
Use correct matcher name in the matcher example in assertion docs
| -rw-r--r-- | docs/assertions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assertions.md b/docs/assertions.md index 40faa5eb..f3dcdd48 100644 --- a/docs/assertions.md +++ b/docs/assertions.md @@ -110,7 +110,7 @@ Expects that an exception is thrown that, when converted to a string, matches th e.g. ```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" ); ``` |