aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/expand.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expand.test b/tests/expand.test
index d93d0707..3dcdb1c3 100755
--- a/tests/expand.test
+++ b/tests/expand.test
@@ -20,10 +20,10 @@ TABSTOP=1
BIGTAB=" "
for i in $(seq $POW); do
BIGTAB=$BIGTAB$BIGTAB
- TABSTOP=$[$TABSTOP*2]
+ TABSTOP=$(($TABSTOP*2))
done
testing "long tab single" "expand -t $TABSTOP input" "${BIGTAB}foo\n" "\tfoo\n" ""
-testing "long tab tablist" "expand -t $TABSTOP,$[TABSTOP+5] input" \
+testing "long tab tablist" "expand -t $TABSTOP,$((TABSTOP+5)) input" \
"${BIGTAB}foo bar\n" "\tfoo\tbar\n" ""
testing "multiline single" "expand -t 4 input" "foo \n bar\n" "foo\t\n\tbar\n" ""