commit | 14362533bb50596049f1b46bcc6d333208576a87 | [log] [tgz] |
---|---|---|
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun Sep 08 12:17:44 2019 +0200 |
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | Sun Sep 08 14:35:01 2019 +0200 |
tree | c5bec46bd94909144da7d4423fb0f2571dd6e04c | |
parent | a5bb3e3d911e5c43feb359f47848b7630d623338 [diff] |
Check for empty expression properly The old code was a left-over from the times when the `capturedExpression` member was a `const char*`, which could always be indexed. With the change to use `StringRef`, blindly indexing 0th element is invalid, as it is not indexable part of a StringRef.
The latest version of the single header can be downloaded directly using this link
If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.
Catch2 is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.
This documentation comprises these three parts: