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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-02-09 12:41:16 +0100
committerMartin Hořeňovský2017-02-09 12:51:43 +0100
commit9952dda524e5578d808e2c267fff0799f228cbd2 (patch)
tree78ec850cc718ab91500f343105f9809cfa97cc4a /include
parente543cc06462a8dc1f83bb3ece60d0529e0bc4d83 (diff)
downloadcatch3-9952dda524e5578d808e2c267fff0799f228cbd2.tar.gz
REQUIRE_THROWS_AS is now reported with expected type as well
Also updated tests to reflect this change.
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_capture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp
index 04be7016..ae10f58a 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -87,7 +87,7 @@
///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_THROWS_AS( expr, exceptionType, resultDisposition, macroName ) \
do { \
- Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr, resultDisposition ); \
+ Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #expr ", " #exceptionType, resultDisposition ); \
if( __catchResult.allowThrows() ) \
try { \
static_cast<void>(expr); \