Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catchorg/Catch2
/ hasExpression
Method
hasExpression
extras/catch_amalgamated.cpp:665–667 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
663
}
664
665
bool AssertionResult::hasExpression() const {
666
return !m_info.capturedExpression.empty();
667
}
668
669
bool AssertionResult::hasMessage() const {
670
return !m_resultData.message.empty();
Callers
10
print
Function · 0.45
print
Method · 0.45
printExpressionWas
Method · 0.45
printOriginalExpression
Method · 0.45
printOriginalExpression
Method · 0.45
writeAssertion
Method · 0.45
print
Method · 0.45
printExpressionWas
Method · 0.45
printOriginalExpression
Method · 0.45
assertionEnded
Method · 0.45
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected