catch2/tests/SelfTest/Baselines
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
..
automake.std.approved.txt Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
automake.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
compact.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
console.std.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
console.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
console.swa4.approved.txt Fix ulp distance calculation for numbers with different signs 2021-07-27 21:04:41 +02:00
junit.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
sonarqube.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
tap.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
teamcity.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00
xml.sw.approved.txt Fix bad indentation calculation in the console reporter 2021-10-25 15:21:28 +02:00