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

Method hasExpandedExpression

extras/catch_amalgamated.cpp:699–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697 }
698
699 bool AssertionResult::hasExpandedExpression() const {
700 return hasExpression() && getExpandedExpression() != getExpression();
701 }
702
703 std::string AssertionResult::getExpandedExpression() const {
704 std::string expr = m_resultData.reconstructExpression();

Callers 5

printFunction · 0.45
writeAssertionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected