mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
Merge branch 'master' of github.com:philsquared/Catch
# By Zhihao Yuan # Via Phil Nash (1) and Zhihao Yuan (1) * 'master' of github.com:philsquared/Catch: fix macro syntax in doc
This commit is contained in:
commit
f4f4fec5f0
@ -41,7 +41,7 @@ REQUIRE_FALSE( thisReturnsFalse() );
|
||||
|
||||
Expects that an exception (of any type) is be thrown during evaluation of the expression.
|
||||
|
||||
* **REQUIRE_THROWS_AS(** _expression_ and _exception type_ **)** and
|
||||
* **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.
|
||||
@ -61,4 +61,4 @@ To support Matchers a slightly different form is used. Matchers will be more ful
|
||||
|
||||
---
|
||||
|
||||
[Home](../README.md)
|
||||
[Home](../README.md)
|
||||
|
Loading…
Reference in New Issue
Block a user