diff options
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test index 1c038a5c..33900d7a 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -17,3 +17,5 @@ testing "expr % * same priority" "expr 3 % 2 \* 4" "4\n" "" "" testing "expr * % same priority" "expr 3 \* 2 % 4" "2\n" "" "" testing "expr = > same priority" "expr 0 = 2 \> 3" "0\n" "" "" testing "expr > = same priority" "expr 3 \> 2 = 1" "1\n" "" "" +testing "expr string becomes integer" "expr ab21xx : '[^0-9]*\([0-9]*\)' + 3" \ + "24\n" "" "" |