diff options
| author | Martin Hořeňovský | 2017-03-02 18:18:28 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-03-02 18:18:28 +0100 |
| commit | cd6de9cd34351b12b09480d2f6fc8cdd4248862b (patch) | |
| tree | 1c7067c3619c712b64a6dd0ec341329b595d749e /projects/SelfTest/ToStringVector.cpp | |
| parent | 40f6a5b8a478d8cc6f226e81086247a37f4c8e65 (diff) | |
| download | catch3-cd6de9cd34351b12b09480d2f6fc8cdd4248862b.tar.gz | |
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
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
0 files changed, 0 insertions, 0 deletions