Define REQUIRE_THROWS_AS
Synopsis
#include <include/catch.hpp>
#define REQUIRE_THROWS_AS(expr,exceptionType)
Description
No description yet.
Mentioned in
- Writing tests / Assertion Macros / Exceptions
- Writing tests / Assertion Macros / Expressions with commas
- Other / Release Notes / Improvements and minor changes
- Other / Release Notes / Fixes and minor improvements
Source
Line 210 in include/catch.hpp.
#define REQUIRE_THROWS_AS(expr,exceptionType) \
INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exceptionType, Catch::ResultDisposition::Normal, expr )