tests/attributes.sh: tweak: loop thru array subscripts (re: a2f13c19)

This commit is contained in:
Martijn Dekker 2020-09-05 10:26:03 +02:00
parent 6affd23601
commit 20fcf22973
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ typeset -A expect=(
[Z]='typeset -x -r -Z 0 -R 0 foo'
# [Z13]='typeset -x -r -Z 13 -R 13 foo' # TODO: outputs 'typeset -x -r -Z 0 -R 0 foo'
)
for flag in a b i i37 l n s u A C E E12 F F12 H L Mtolower Mtoupper R X17 S T Z
for flag in "${!expect[@]}"
do unset foo
actual=$(
redirect 2>&1