Skip to content

Commit

Permalink
Use correct matcher name in the matcher example in assertion docs
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Aug 13, 2024
1 parent fe483c0 commit 008676a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
```

Expand Down

0 comments on commit 008676a

Please sign in to comment.