From c1720d0c42d1f2ff4f484e5b56f563a9ef86d021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 3 Jan 2019 10:14:03 +0100 Subject: [PATCH] Fix assert message I messed up copy-paste when modifying the assert messages in last commit. --- 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 auto operator && ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator || ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator == ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator != ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator > ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator < ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator >= ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } template auto operator <= ( T ) const -> BinaryExpr const { static_assert(always_false::value, - "operator|| is not supported inside assertions, " + "chained comparisons are not supported inside assertions, " "wrap the expression inside parentheses, or decompose it"); } };