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

regen single header with lhs string literal fix

Commit
62a5ddce2bc9ad7fc9827c3373af7d13c71930c7
Author
Phil Nash ·
Parents
1adebefb50d3

Files · Download .tar.gz

Changes

 single_include/catch.hpp | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index 3b14c968..b3c17a62 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -19,7 +19,7 @@
  Next:
 
  Later:
-    Finish command line parser (list as xml, specify FP tolerance)
+    Finish command line parser (list as xml)
     Tags?
     Finish macros, listed here, later (just CHECK_NOFAIL now)
  */
@@ -1709,6 +1709,17 @@ public:
         return expr;
     }
 
+    ///////////////////////////////////////////////////////////////////////////
+    Expression<const char*> operator->*
+    (
+        const char* operand
+     )
+    {
+        Expression<const char*> expr( m_result, operand );
+
+        return expr;
+    }
+
     ///////////////////////////////////////////////////////////////////////////
     template<typename T>
     PtrExpression<T> operator->*