diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/core/test-core-eval.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-eval.cpp b/tests/unit/core/test-core-eval.cpp index 24213c21b..f1cb40c6b 100644 --- a/tests/unit/core/test-core-eval.cpp +++ b/tests/unit/core/test-core-eval.cpp @@ -136,6 +136,7 @@ TEST(CoreEval, EvalCondition) WEE_CHECK_EVAL("0", "1 && (0 || 0)"); WEE_CHECK_EVAL("0", "(0 || 1) && 0"); WEE_CHECK_EVAL("0", "((0 || 1) && 1) && 0"); + WEE_CHECK_EVAL("0", "(0) "); WEE_CHECK_EVAL("0", "abcd =~ (?-i)^ABC"); WEE_CHECK_EVAL("0", "abcd =~ \\(abcd\\)"); WEE_CHECK_EVAL("0", "=~abcd"); @@ -200,6 +201,7 @@ TEST(CoreEval, EvalCondition) WEE_CHECK_EVAL("1", "1 && (0 || 1)"); WEE_CHECK_EVAL("1", "(0 || 1) && 1"); WEE_CHECK_EVAL("1", "((0 || 1) && 1) && 1"); + WEE_CHECK_EVAL("1", "(1)1"); WEE_CHECK_EVAL("1", "abcd =~ ^ABC"); WEE_CHECK_EVAL("1", "abcd =~ (?-i)^abc"); WEE_CHECK_EVAL("1", "abcd=~abc"); |