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 authored and Martin Hořeňovský committed 2017-05-27 14:09:43 +02:00
1 parent 1c59034be4
commit 2d1739b429
1 file changed
+1 -1
+1 -1
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: