aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-21 17:20:13 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-08-02 15:46:29 +0800
commit2dc5af830837a30b83a74c8ed4e918a3d7c5f3c3 (patch)
treefe3b26d56dd993abe309113984e72a9ac2f16818 /bashast/gunit
parentParser: allow empty value for sub-array expansion (diff)
downloadlibbash-2dc5af830837a30b83a74c8ed4e918a3d7c5f3c3.tar.gz
libbash-2dc5af830837a30b83a74c8ed4e918a3d7c5f3c3.tar.bz2
libbash-2dc5af830837a30b83a74c8ed4e918a3d7c5f3c3.zip
Parser: support == in arithmetic comparison
Diffstat (limited to 'bashast/gunit')
-rw-r--r--bashast/gunit/arith_main.gunit1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashast/gunit/arith_main.gunit b/bashast/gunit/arith_main.gunit
index 1f1a089..5249b5a 100644
--- a/bashast/gunit/arith_main.gunit
+++ b/bashast/gunit/arith_main.gunit
@@ -80,6 +80,7 @@ arithmetics_test:
"17" ->"17"
"19<20" -> (< 19 20)
"19!=20" -> (NOT_EQUALS 19 20)
+"19==20" -> (EQUALS_TO 19 20)
//bitwiseand:
"17" -> "17"