Skip to content

Commit 82aa0e7

Browse files
committed
Fix
1 parent 6222897 commit 82aa0e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_others.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ res=$($com -c 'A="あいうえお いうえお"; echo ${A/%えお/えええeee}'
198198
res=$($com -c 'A="あいうえお"; echo ${A/%あ/えええeee}' )
199199
[ "$res" = "あいうえお" ] || err $LINENO
200200

201+
res=$($com -c 'echo ${@[0]}' )
202+
[ $? = 1 ] || err $LINENO
203+
[ "$res" = "" ] || err $LINENO
204+
201205
### IRREGULAR INPUT TEST ###
202206

203207
res=$($com <<< 'eeeeeecho hoge')

0 commit comments

Comments
 (0)