summaryrefslogtreecommitdiffstats
path: root/tests/set-old.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-10-24 21:24:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-10-24 21:24:07 (GMT)
commit40ce2eccbc52b403d4a4b7bc479fbde987a14e18 (patch)
treedef80b95ab5c82a0f402bfcd055a593438cf2374 /tests/set-old.test
parent9306fa604ca63f8626f859c1f6cb5154a659e504 (diff)
downloadtcl-40ce2eccbc52b403d4a4b7bc479fbde987a14e18.zip
tcl-40ce2eccbc52b403d4a4b7bc479fbde987a14e18.tar.gz
tcl-40ce2eccbc52b403d4a4b7bc479fbde987a14e18.tar.bz2
'array for' implementation (TIP #421) from Brad Lanam
Diffstat (limited to 'tests/set-old.test')
-rw-r--r--tests/set-old.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/set-old.test b/tests/set-old.test
index 6138ed8..3b4184c 100644
--- a/tests/set-old.test
+++ b/tests/set-old.test
@@ -340,7 +340,7 @@ test set-old-8.6 {array command} {
catch {unset a}
set a(22) 3
list [catch {array gorp a} msg] $msg
-} {1 {unknown or ambiguous subcommand "gorp": must be anymore, donesearch, exists, get, names, nextelement, set, size, startsearch, statistics, or unset}}
+} {1 {unknown or ambiguous subcommand "gorp": must be anymore, donesearch, exists, for, get, names, nextelement, set, size, startsearch, statistics, or unset}}
test set-old-8.7 {array command, anymore option} {
catch {unset a}
list [catch {array anymore a x} msg] $msg
@@ -652,7 +652,7 @@ test set-old-8.52 {array command, array names -regexp on regexp pattern} {
set a(11) 1
list [catch {lsort [array names a -regexp ^1]} msg] $msg
} {0 {1*2 11 12}}
-test set-old-8.52.1 {array command, array names -regexp, backrefs} {
+?test set-old-8.52.1 {array command, array names -regexp, backrefs} {
catch {unset a}
set a(1*2) 1
set a(12) 1
@@ -940,7 +940,7 @@ catch {rename foo {}}
# cleanup
::tcltest::cleanupTests
-return
+return
# Local Variables:
# mode: tcl