summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/expr/basic2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/expr/basic b/tests/expr/basic
index 79ff566a3..c5a843dde 100755
--- a/tests/expr/basic
+++ b/tests/expr/basic
@@ -29,6 +29,8 @@ my @Tests =
['c', '5 \* 6', {OUT => '30'}],
['d', '100 / 6', {OUT => '16'}],
['e', '100 % 6', {OUT => '4'}],
+ ['f', '3 + -2', {OUT => '1'}],
+ ['g', '-2 + -2', {OUT => '-4'}],
['paren1', '\( 100 % 6 \)', {OUT => '4'}],
['paren2', '\( 100 % 6 \) - 8', {OUT => '-4'}],