MCPcopy Create free account
hub / github.com/catchorg/Catch2 / getExpandedExpression

Method getExpandedExpression

extras/catch_amalgamated.cpp:703–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 }
702
703 std::string AssertionResult::getExpandedExpression() const {
704 std::string expr = m_resultData.reconstructExpression();
705 return expr.empty()
706 ? getExpression()
707 : expr;
708 }
709
710 StringRef AssertionResult::getMessage() const {
711 return m_resultData.message;

Callers 7

printFunction · 0.45
assertionEndedMethod · 0.45
writeAssertionMethod · 0.45

Calls 2

reconstructExpressionMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected