From 74c1d7d5f4e06d40fe3af7287819cdc2619c17d1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 18 Aug 2001 20:47:57 +0000 Subject: 00: new test --- tests/expr/basic | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/expr/basic b/tests/expr/basic index 699e10ac2..ac23e4504 100755 --- a/tests/expr/basic +++ b/tests/expr/basic @@ -32,6 +32,9 @@ my @Tests = ['d', '100 / 6', {OUT => '16'}], ['e', '100 % 6', {OUT => '4'}], + # Before 2.0.12, this would output `1'. + ['00', '00 \< 0!', {OUT => '0'}, {EXIT => 1}], + # This evoked a syntax error diagnostic before 2.0.12. ['minus2', '-- 2 + 2', {OUT => '4'}], -- cgit v1.2.3-70-g09d2