summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2016-08-18 21:59:37 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2016-08-18 21:59:37 (GMT)
commit46a04df737702095dbd3fd28e6b28088006b251f (patch)
tree52de45d803bca75dffff44640ba63b589a4f594d /tests
parentf1810dae6c5de7512c2d388b7631b7dc4a888928 (diff)
downloadtcl-pyk_listdictstringrep.zip
tcl-pyk_listdictstringrep.tar.gz
tcl-pyk_listdictstringrep.tar.bz2
Add back constraint that direct dict->list conversion is only done when no string representation exists.pyk_listdictstringrep
Diffstat (limited to 'tests')
-rw-r--r--tests/list.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/list.test b/tests/list.test
index dff5d50..661ddde 100644
--- a/tests/list.test
+++ b/tests/list.test
@@ -129,6 +129,13 @@ test list-4.1 {Bug 3173086} {
string is list "{[list \\\\\}]}"
} 1
+test list-5.1 {list/dict conversions without} {
+ set a {a 1 a 2}
+ dict get $a a
+ lindex $a 1
+} 1
+
+
# cleanup
::tcltest::cleanupTests
return