ExpressionLhs reconstruction based on value, not truthiness (#914)

Types which are truthy, but have more information than the truthiness in their string conversion were showing up as 'true' or 'false' instead of showing the underlying type's string value.
This commit is contained in:
twhittock 2017-05-27 13:09:44 +01:00 committed by Martin Hořeňovský
parent 1c59034be4
commit 2d1739b429

View File

@ -81,7 +81,7 @@ public:
}
virtual void reconstructExpression( std::string& dest ) const CATCH_OVERRIDE {
dest = Catch::toString( m_truthy );
dest = Catch::toString( m_lhs );
}
private: