catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix erroneous result disposition for {REQUIRE,CHECK}_THAT
- Commit
6583284731e961065f007782eb89be41e6ef4e6a- Author
- Martin Hořeňovský ·
- Parents
07ef028483dc
Changes
include/internal/catch_capture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp index 7816b50c..b25f13e8 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -162,7 +162,7 @@ try { \ __catchResult.captureMatch( arg, matcher, #matcher ); \ } catch( ... ) { \ - __catchResult.useActiveException( resultDisposition | Catch::ResultDisposition::ContinueOnFailure ); \ + __catchResult.useActiveException( resultDisposition ); \ } \ INTERNAL_CATCH_REACT( __catchResult ) \ } while( Catch::alwaysFalse() )