Skip to content

Commit 008676a

Browse files
committed
Use correct matcher name in the matcher example in assertion docs
1 parent fe483c0 commit 008676a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/assertions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Expects that an exception is thrown that, when converted to a string, matches th
110110
111111
e.g.
112112
```cpp
113-
REQUIRE_THROWS_WITH( openThePodBayDoors(), Contains( "afraid" ) && Contains( "can't do that" ) );
113+
REQUIRE_THROWS_WITH( openThePodBayDoors(), ContainsSubstring( "afraid" ) && ContainsSubstring( "can't do that" ) );
114114
REQUIRE_THROWS_WITH( dismantleHal(), "My mind is going" );
115115
```
116116

0 commit comments

Comments
 (0)