diff options
| author | Martin Hořeňovský | 2019-09-08 12:17:44 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-09-08 14:35:01 +0200 |
| commit | 14362533bb50596049f1b46bcc6d333208576a87 (patch) | |
| tree | c5bec46bd94909144da7d4423fb0f2571dd6e04c /projects/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | a5bb3e3d911e5c43feb359f47848b7630d623338 (diff) | |
| download | catch3-14362533bb50596049f1b46bcc6d333208576a87.tar.gz | |
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.
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions