summaryrefslogtreecommitdiffstats
path: root/tests/assocd.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-30 20:51:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-30 20:51:43 (GMT)
commit3c9637c2fef51985aa0012835030434644341438 (patch)
tree9103e4bbde950cbd40f65fab5a000cb53e973b98 /tests/assocd.test
parenta071678d02455242516cf2e6450769515b1ce513 (diff)
parentf034dfb455ecbe58e5435d09d2ad51a4eb3ea1b6 (diff)
downloadtcl-3c9637c2fef51985aa0012835030434644341438.zip
tcl-3c9637c2fef51985aa0012835030434644341438.tar.gz
tcl-3c9637c2fef51985aa0012835030434644341438.tar.bz2
For Parse/eval & msgcat, select modernizations from Patrick Fradin + -debug fix
Diffstat (limited to 'tests/assocd.test')
-rw-r--r--tests/assocd.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/assocd.test b/tests/assocd.test
index d1489b3..b543c64 100644
--- a/tests/assocd.test
+++ b/tests/assocd.test
@@ -11,10 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest
- namespace import -force ::tcltest::*
-}
+package require tcltest 2
+namespace import ::tcltest::*
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
@@ -60,5 +58,5 @@ test assocd-3.3 {testing deleting assoc data} testdelassocdata {
} {0 {}}
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return