mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
060ed99f0c
with these changes you can now write the following tests: std::exception_ptr ex; CATCH_REQUIRE(ex == nullptr); and std::unique_ptr<int> ptr; CATCH_REQUIRE(ptr.get() == nullptr); The issue was that you cannot cast a std::nullptr_t to a non-const reference. |
||
---|---|---|
.. | ||
catch.hpp |