summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-05-07 10:42:14 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-05-07 10:42:14 (GMT)
commitb86d1ef0c225885f9d5a8d5bb43a961c26ebb9c2 (patch)
treec1cd42bd90bf3b53ca536c533a88943f11e33306 /tests
parent8b0e387a55e642922694c0255aa470e88f29569e (diff)
downloadtcl-b86d1ef0c225885f9d5a8d5bb43a961c26ebb9c2.zip
tcl-b86d1ef0c225885f9d5a8d5bb43a961c26ebb9c2.tar.gz
tcl-b86d1ef0c225885f9d5a8d5bb43a961c26ebb9c2.tar.bz2
Simplify test
Diffstat (limited to 'tests')
-rw-r--r--tests/dict.test11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/dict.test b/tests/dict.test
index e9848ae..fd33ab0 100644
--- a/tests/dict.test
+++ b/tests/dict.test
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: dict.test,v 1.25 2008/05/07 09:23:39 dkf Exp $
+# RCS: @(#) $Id: dict.test,v 1.26 2008/05/07 10:42:14 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -415,13 +415,8 @@ test dict-13.9 {dict append command: write failure} {
set result
} {1 {can't set "dictVar": variable is array}}
test dict-13.10 {compiled dict append: crash case} {
- apply {{} {
- dict for {k v} {fred 1} {
- dict append margs body fred \n
- }
- return ok
- }}
-} ok
+ apply {{} {dict append dictVar a o k}}
+} {a ok}
test dict-14.1 {dict for command: syntax} {
list [catch {dict for} msg] $msg