From ef6a773198040a05a56dec2261516fb149823cf6 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 1 Dec 2014 03:15:25 -0600 Subject: Refactor expr and add another test entry that works with TEST_HOST=1 but not with the one in pending. --- tests/expr.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/expr.test') 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" "" "" -- cgit v1.2.3