MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / printHeaderString

Method printHeaderString

Bcore/src/main/cpp/Dobby/tests/catch.hpp:11968–11975  ·  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

11966// if string has a : in first line will set indent to follow it on
11967// subsequent lines
11968void ConsoleReporter::printHeaderString(std::string const &_string, std::size_t indent) {
11969 std::size_t i = _string.find(": ");
11970 if (i != std::string::npos)
11971 i += 2;
11972 else
11973 i = 0;
11974 stream << Column(_string).indent(indent + i).initialIndent(indent) << '\n';
11975}
11976
11977struct SummaryColumn {
11978

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