Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fixed Github Issue #32: "ResultBuilder& operator << should use toString"

Commit
4b24490e1a2218279d978d5e93ff09e0bd58d5f0
Author
Phil Nash ·
Parents
0ea29b7d28aa

Files · Download .tar.gz

Changes

 include/internal/catch_capture.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp
index 9db8503d..b7ffb230 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -577,7 +577,7 @@ public:
         const T & value
     )
     {
-        m_messageStream << value;
+        m_messageStream << Catch::toString( value );        
         return *this;
     }