mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 02:45:40 +02:00
Support bitand and bitor in REQUIRE/CHECK
This means that bit-flag-like types with conversion to bool can be asserted on, like so `REQUIRE(var & Flags::AddNewline)`.
This commit is contained in:
@@ -1380,6 +1380,6 @@ due to unexpected exception with message:
|
||||
Why would you throw a std::string?
|
||||
|
||||
===============================================================================
|
||||
test cases: 309 | 235 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1692 | 1540 passed | 131 failed | 21 failed as expected
|
||||
test cases: 310 | 236 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1695 | 1543 passed | 131 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user