MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / printHeaderString

Method printHeaderString

extlibs/catch/include/catch/catch.hpp:15832–15839  ·  view source on GitHub ↗

if string has a : in first line will set indent to follow it on subsequent lines

Source from the content-addressed store, hash-verified

15830// if string has a : in first line will set indent to follow it on
15831// subsequent lines
15832void ConsoleReporter::printHeaderString(std::string const& _string, std::size_t indent) {
15833 std::size_t i = _string.find(": ");
15834 if (i != std::string::npos)
15835 i += 2;
15836 else
15837 i = 0;
15838 stream << Column(_string).indent(indent + i).initialIndent(indent) << '\n';
15839}
15840
15841struct SummaryColumn {
15842

Callers

nothing calls this directly

Calls 4

ColumnClass · 0.85
initialIndentMethod · 0.80
findMethod · 0.45
indentMethod · 0.45

Tested by

no test coverage detected