mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01: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. | ||||
| ```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" ); | ||||
| ``` | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský