Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-08-09 10:50:53 +0200
committerMartin Hořeňovský2019-08-09 10:50:53 +0200
commit738818ae1d286ad793ea37e1b3836e3191663e4d (patch)
tree0788694c17b0fb12311f92deb89b9a827329d407 /include
parent2c869e17e4803d30b3d5ca5b0d76387b9db97fa5 (diff)
downloadcatch3-738818ae1d286ad793ea37e1b3836e3191663e4d.tar.gz
Add a test for the internals
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_enforce.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/catch_enforce.h b/include/internal/catch_enforce.h
index ad11c815..0484724d 100644
--- a/include/internal/catch_enforce.h
+++ b/include/internal/catch_enforce.h
@@ -38,13 +38,13 @@ namespace Catch {
(Catch::ReusableStringStream() << __VA_ARGS__).str()
#define CATCH_INTERNAL_ERROR(...) \
- Catch::throw_logic_error(CATCH_MAKE_MSG( CATCH_INTERNAL_LINEINFO << ": Internal Catch2 error: " << __VA_ARGS__));
+ Catch::throw_logic_error(CATCH_MAKE_MSG( CATCH_INTERNAL_LINEINFO << ": Internal Catch2 error: " << __VA_ARGS__))
#define CATCH_ERROR(...) \
- Catch::throw_domain_error(CATCH_MAKE_MSG( __VA_ARGS__ ));
+ Catch::throw_domain_error(CATCH_MAKE_MSG( __VA_ARGS__ ))
#define CATCH_RUNTIME_ERROR(...) \
- Catch::throw_runtime_error(CATCH_MAKE_MSG( __VA_ARGS__ ));
+ Catch::throw_runtime_error(CATCH_MAKE_MSG( __VA_ARGS__ ))
#define CATCH_ENFORCE( condition, ... ) \
do{ if( !(condition) ) CATCH_ERROR( __VA_ARGS__ ); } while(false)