mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-12 17:14:50 +02:00
Corrected Excepts to Expects (2x)
@@ -28,11 +28,11 @@ Expects that an exception (of any type) is be thrown during evaluation of the ex
|
|||||||
|
|
||||||
**REQUIRE_THROWS_AS(** _expression_ and _exception type_ **)** and
|
**REQUIRE_THROWS_AS(** _expression_ and _exception type_ **)** and
|
||||||
**CHECK_THROWS_AS(** _expression_, _exception type_ **)**
|
**CHECK_THROWS_AS(** _expression_, _exception type_ **)**
|
||||||
Excepts that an exception of the _specified type_ is thrown during evaluation of the expression.
|
Expects that an exception of the _specified type_ is thrown during evaluation of the expression.
|
||||||
|
|
||||||
**REQUIRE_NOTHROW(** _expression_ **)** and
|
**REQUIRE_NOTHROW(** _expression_ **)** and
|
||||||
**CHECK_NOTHROW(** _expression_ **)**
|
**CHECK_NOTHROW(** _expression_ **)**
|
||||||
Excepts that no exception is thrown during evaluation of the expression.
|
Expects that no exception is thrown during evaluation of the expression.
|
||||||
|
|
||||||
## Matcher expressions
|
## Matcher expressions
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user