summaryrefslogtreecommitdiff
path: root/tests/assoc.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assoc.right')
-rw-r--r--tests/assoc.right1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/assoc.right b/tests/assoc.right
index d176bcd4..e9aa9172 100644
--- a/tests/assoc.right
+++ b/tests/assoc.right
@@ -222,6 +222,7 @@ declare -A a=(["80's"]="Depeche Mode" )
1+5
declare -A a=(["\$(date >&2)"]="5" )
declare -A myarray=([foo]="bleh" ["foo[bar"]="bleh" )
+foo
./assoc10.sub: line 14: declare: a: cannot convert indexed to associative array
f: declare -a a
./assoc10.sub: line 17: declare: a: cannot convert associative to indexed array