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

Fix assert message

I messed up copy-paste when modifying the assert messages in last
commit.
Commit
c1720d0c42d1f2ff4f484e5b56f563a9ef86d021
Author
Martin Hořeňovský ·
Parents
d54c2258e0b8

Files · Download .tar.gz

Changes

 include/internal/catch_decomposer.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/internal/catch_decomposer.h b/include/internal/catch_decomposer.h
index c3d7fa4b..443ef2de 100644
--- a/include/internal/catch_decomposer.h
+++ b/include/internal/catch_decomposer.h
@@ -67,56 +67,56 @@ namespace Catch {
         template<typename T>
         auto operator && ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator || ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator == ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator != ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator > ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator < ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator >= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
 
         template<typename T>
         auto operator <= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
             static_assert(always_false<T>::value,
-            "operator|| is not supported inside assertions, "
+            "chained comparisons are not supported inside assertions, "
             "wrap the expression inside parentheses, or decompose it");
         }
     };