mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +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: 334 | 260 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1892 | 1740 passed | 131 failed | 21 failed as expected
|
||||
test cases: 335 | 261 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1895 | 1743 passed | 131 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user