summaryrefslogtreecommitdiff
path: root/tests/assoc.right
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2020-11-17 14:18:49 -0500
committerChet Ramey <chet.ramey@case.edu>2020-11-17 14:18:49 -0500
commit37b22abee700eb1b0c5b6926ab32630a429c1183 (patch)
tree01d22efef9babf0127776b6b3c4387b03dc629ab /tests/assoc.right
parent278db80c368700ed6117fbd390c89a9b44c0240c (diff)
downloadbash-5.1-testing.tar.gz
Bash-5.1-rc3 releasebash-5.1-rc3bash-5.1-testing
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