summaryrefslogtreecommitdiffstats
path: root/tests/set-old.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-06-16 15:19:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-06-16 15:19:41 (GMT)
commit9899c6d8097c67a31bc107c77ff8848bcc23d6db (patch)
treef824e5fe9e245730af806b3a5aabf69b2c8e1e08 /tests/set-old.test
parentb700360ad9501defb0b1e2d86353ac8d0db8eef4 (diff)
parent3f61f168eb9d98c28312cdea25b214827c3692f2 (diff)
downloadtcl-9899c6d8097c67a31bc107c77ff8848bcc23d6db.zip
tcl-9899c6d8097c67a31bc107c77ff8848bcc23d6db.tar.gz
tcl-9899c6d8097c67a31bc107c77ff8848bcc23d6db.tar.bz2
Merge up to a197e6853e. Still works. Next checkin restarts the segfaults.
Diffstat (limited to 'tests/set-old.test')
-rw-r--r--tests/set-old.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/set-old.test b/tests/set-old.test
index 52dc0ff..4c25ec5 100644
--- a/tests/set-old.test
+++ b/tests/set-old.test
@@ -678,6 +678,11 @@ test set-old-8.57 {array command, array get with trivial pattern} {
set a(y) 2
array get a x
} {x 1}
+test set-old-8.58 {array command, array set with LVT and odd length literal} {
+ list [catch {apply {{} {
+ array set a {b c d}
+ }}} msg] $msg
+} {1 {list must have an even number of elements}}
test set-old-9.1 {ids for array enumeration} {
catch {unset a}