mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Slight documentation improvements
This commit is contained in:
		| @@ -95,7 +95,7 @@ Expects that an exception (of any type) is be thrown during evaluation of the ex | ||||
| * **REQUIRE_THROWS_AS(** _expression_, _exception type_ **)** and   | ||||
| * **CHECK_THROWS_AS(** _expression_, _exception type_ **)** | ||||
|  | ||||
| Expects that an exception of the _specified type_ is thrown during evaluation of the expression. Note that the _exception type_ is used verbatim and you should include (const) reference. | ||||
| Expects that an exception of the _specified type_ is thrown during evaluation of the expression. Note that the _exception type_ is used verbatim and you should include (const) reference (`const&`). | ||||
|  | ||||
| * **REQUIRE_THROWS_WITH(** _expression_, _string or string matcher_ **)** and   | ||||
| * **CHECK_THROWS_WITH(** _expression_, _string or string matcher_ **)** | ||||
| @@ -127,6 +127,8 @@ REQUIRE_NOTHROW([&](){ | ||||
| }()); | ||||
| ``` | ||||
|  | ||||
|  | ||||
|  | ||||
| ## Matcher expressions | ||||
|  | ||||
| To support Matchers a slightly different form is used. Matchers have [their own documentation](matchers.md). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský