Flush less in default test listing impl

This commit is contained in:
Martin Hořeňovský 2021-05-29 13:52:23 +02:00
parent 2c04850f88
commit 4c1e896d47
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -196,7 +196,7 @@ namespace Catch {
out << TextFlow::Column(testCaseInfo.name).initialIndent(2).indent(4) << '\n'; out << TextFlow::Column(testCaseInfo.name).initialIndent(2).indent(4) << '\n';
if (verbosity >= Verbosity::High) { if (verbosity >= Verbosity::High) {
out << TextFlow::Column(Catch::Detail::stringify(testCaseInfo.lineInfo)).indent(4) << '\n' << std::flush; out << TextFlow::Column(Catch::Detail::stringify(testCaseInfo.lineInfo)).indent(4) << '\n';
} }
if (!testCaseInfo.tags.empty() && if (!testCaseInfo.tags.empty() &&
verbosity > Verbosity::Quiet) { verbosity > Verbosity::Quiet) {