mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-21 04:39:31 +01:00
Fix CAPTURE macro for nontrivial uses
The previous implemetation was just plain broken for most of possible uses, the new one should work (even though it is ugly as all hell, and should be improved ASAP). Fixes #1436
This commit is contained in:
@@ -1126,6 +1126,6 @@ due to unexpected exception with message:
|
||||
Why would you throw a std::string?
|
||||
|
||||
===============================================================================
|
||||
test cases: 226 | 170 passed | 52 failed | 4 failed as expected
|
||||
assertions: 1308 | 1176 passed | 111 failed | 21 failed as expected
|
||||
test cases: 228 | 172 passed | 52 failed | 4 failed as expected
|
||||
assertions: 1310 | 1178 passed | 111 failed | 21 failed as expected
|
||||
|
||||
|
||||
Reference in New Issue
Block a user