summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2010-05-20 08:37:07 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2010-05-20 08:37:07 (GMT)
commit24f9dad514d1496c92732307721f86fcd897e946 (patch)
tree9189d5ff5fc250210d61aa9843dc7f4c00866005
parent494eeac4f557e460e9cee22bc01fd39b6a23329e (diff)
downloadtcl-24f9dad514d1496c92732307721f86fcd897e946.zip
tcl-24f9dad514d1496c92732307721f86fcd897e946.tar.gz
tcl-24f9dad514d1496c92732307721f86fcd897e946.tar.bz2
Also check the reverse path of dict->list EIAS violation.
-rw-r--r--ChangeLog2
-rw-r--r--tests/dict.test3
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f35ef1..ce29204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
2010-05-19 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
- * tests/dict.test: Add missing test for [Bug 3004007], fixed under
+ * tests/dict.test: Add missing tests for [Bug 3004007], fixed under
the radar on 2010-02-24 (dkf): EIAS violation in
list-dict conversions.
diff --git a/tests/dict.test b/tests/dict.test
index b805dc7..c7d186d 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.36 2010/05/19 21:54:55 ferrieux Exp $
+# RCS: @(#) $Id: dict.test,v 1.37 2010/05/20 08:37:09 ferrieux Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -123,6 +123,7 @@ test dict-3.15 {compiled dict get error cleanliness - Bug 2431847} -body {
}}
} -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-3.17 {dict/list shimmering - Bug 3004007} {set l [list p 1 p 2 q 3];dict get $l q;llength $l} 6
test dict-4.1 {dict replace command} {
dict replace {a b c d}