catch2/tests
Martin Hořeňovský 905bf438ae
Fix bad indentation calculation in the console reporter
The problem came from the console reporter trying to provide a
fancy linebreaking (primarily for things like `SCENARIO` or the
BDD macros), so that new lines start with extra indentation if
the text being line broken starts as "{text}: ".

The console reporter did not properly take into account cases
where the ": " part would already be in a later line, in which
case it would ask for non-sensical level of indentation (larger
than single line length).

We fixed this by also enforcing that the special indentation case
only triggers if the ": " is found early enough in the line, so
that we also avoid degenerate cases like this:
```
blablabla: F
           a
           n
           c
           y
           .
           .
           .
```

Fixes #2309
2021-10-25 15:21:28 +02:00
..
ExtraTests Multiple tests can have same name as long as their tags differ 2021-09-25 21:37:03 +02:00
SelfTest Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
TestScripts Add new reporter event called for each test case enter/exit 2021-09-14 13:19:45 +02:00
CMakeLists.txt Add test for !shouldfail and failed benchmarks 2021-08-21 00:06:31 +02:00