commit | cd6de9cd34351b12b09480d2f6fc8cdd4248862b | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Thu Mar 02 18:18:28 2017 +0100 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Thu Mar 02 18:18:28 2017 +0100 |
tree | 1c7067c3619c712b64a6dd0ec341329b595d749e | |
parent | 40f6a5b8a478d8cc6f226e81086247a37f4c8e65 [diff] |
Don't reconstruct expression on encountering fatal error In some cases, like when given ```cpp std::vector<char>* str = reinterpret_cast<std::vector<char>*>(0x1234458); CHECK(*str == std::vector<char>()); ``` reconstructing the expression to report it would cause another fatal error. Instead we just put together an AssertionResult without reconstructing the expression fully. This should fully fix #810
v1.8.1
The latest, single header, version can be downloaded directly using this link
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
This documentation comprises these three parts: