Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-08-13 19:21:07 +0200
committerMartin Hořeňovský2024-08-13 19:21:07 +0200
commit008676a7419c27116736b0721ce7e119eebf088d (patch)
treea256c102bf5150c39d78b4b7a908f1aa99fd2456
parentfe483c056d9516d3550519c29fbf14a4d84d06d4 (diff)
downloadcatch3-008676a7419c27116736b0721ce7e119eebf088d.tar.gz
Use correct matcher name in the matcher example in assertion docs
-rw-r--r--docs/assertions.md2
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" );
```