summaryrefslogtreecommitdiffstats
path: root/tests/dict.test
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2010-05-19 21:54:55 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2010-05-19 21:54:55 (GMT)
commit494eeac4f557e460e9cee22bc01fd39b6a23329e (patch)
tree3b19b5e0384122fd3dcef01d6f93cde2f4c4c040 /tests/dict.test
parent2bdf96f5608d4e27a76ad4080398df6885a6209a (diff)
downloadtcl-494eeac4f557e460e9cee22bc01fd39b6a23329e.zip
tcl-494eeac4f557e460e9cee22bc01fd39b6a23329e.tar.gz
tcl-494eeac4f557e460e9cee22bc01fd39b6a23329e.tar.bz2
Add missing test for [Bug 3004007], fixed under the radar on 2010-02-24 (dkf): EIAS violation in list-dict conversions.
Diffstat (limited to 'tests/dict.test')
-rw-r--r--tests/dict.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dict.test b/tests/dict.test
index e6b9ba4..b805dc7 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.35 2010/02/24 14:30:34 dkf Exp $
+# RCS: @(#) $Id: dict.test,v 1.36 2010/05/19 21:54:55 ferrieux Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -122,6 +122,7 @@ test dict-3.15 {compiled dict get error cleanliness - Bug 2431847} -body {
dict get $a(z) d
}}
} -returnCodes error -result {key "d" not known in dictionary}
+test dict-3.16 {dict/list shimmering - Bug 3004007} {set l [list p 1 p 2 q 3];dict get $l q;set l} {p 1 p 2 q 3}
test dict-4.1 {dict replace command} {
dict replace {a b c d}