diff options
| author | Martin Hořeňovský | 2017-04-28 18:30:04 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-04-28 18:30:04 +0200 |
| commit | 5ffc8a84cda91b5da037a923480236450f7f4586 (patch) | |
| tree | 0a143b2863fb7f144547f5d881bb7a71bf265baa /include/internal | |
| parent | 6e0fa4be682ccc142da5ed7ddaadb6e42ea936c5 (diff) | |
| download | catch3-5ffc8a84cda91b5da037a923480236450f7f4586.tar.gz | |
Fix order of arguments in CATCH_FAIL and nonvariadic INTERNAL_CATCH_MSG
Fixes #896
Diffstat (limited to 'include/internal')
| -rw-r--r-- | include/internal/catch_capture.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp index 58993718..928b06c9 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -152,7 +152,7 @@ INTERNAL_CATCH_REACT( __catchResult ) \ } while( Catch::alwaysFalse() ) #else - #define INTERNAL_CATCH_MSG( messageType, resultDisposition, macroName, log ) \ + #define INTERNAL_CATCH_MSG( macroName, messageType, resultDisposition, log ) \ do { \ Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, "", resultDisposition ); \ __catchResult << log + ::Catch::StreamEndStop(); \ |