Permalink
Browse files

clarify test case with strict-arith

  • Loading branch information...
Andy Chu
Andy Chu committed Aug 19, 2018
1 parent 4b0650a commit 901e603ca978419ec2171086d80f38fe1e089edc
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/arith.test.sh
View
@@ -80,10 +80,15 @@ set -o strict-arith || true
s=foo
echo $s
echo $((s+5))
echo 'should not get here'
## status: 1
## stdout-json: "foo\n"
## N-I bash status: 0
## N-I bash stdout-json: "foo\n5\n"
## N-I bash STDOUT:
foo
5
should not get here
## END
## N-I dash status: 2
## N-I dash stdout-json: ""
## N-I mksh status: 1

0 comments on commit 901e603

Please sign in to comment.