MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / printMessage

Method printMessage

unittests/catch.hpp:11697–11705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11695 }
11696 }
11697 void printMessage() const {
11698 if (!messageLabel.empty())
11699 stream << messageLabel << ':' << '\n';
11700 for (auto const& msg : messages) {
11701 // If this assertion is a warning ignore any INFO messages
11702 if (printInfoMessages || msg.type != ResultWas::Info)
11703 stream << Column(msg.message).indent(2) << '\n';
11704 }
11705 }
11706 void printSourceInfo() const {
11707 Colour colourGuard(Colour::FileName);
11708 stream << result.getSourceInfo() << ": ";

Callers

nothing calls this directly

Calls 3

ColumnClass · 0.85
emptyMethod · 0.45
indentMethod · 0.45

Tested by

no test coverage detected