mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Changed Approx::toString() to be implemented in terms of toString( double ) (as proposed in #233)
This commit is contained in:
@@ -70,7 +70,7 @@ namespace Detail {
|
||||
|
||||
std::string toString() const {
|
||||
std::ostringstream oss;
|
||||
oss << "Approx( " << m_value << " )";
|
||||
oss << "Approx( " << Catch::toString( m_value ) << " )";
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user