summaryrefslogtreecommitdiffstats
path: root/tests/cmdInfo.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)
commitdcd11ad5da4dec127b5331f936c8a00d16b4d4db (patch)
tree9103e4bbde950cbd40f65fab5a000cb53e973b98 /tests/cmdInfo.test
parentb9691ea46a7c8f9a6182cc92385754a2e55ef5a1 (diff)
parentdc03444f53228daafc69911cd9dd8fbb5b14ddc5 (diff)
downloadtcl-dcd11ad5da4dec127b5331f936c8a00d16b4d4db.zip
tcl-dcd11ad5da4dec127b5331f936c8a00d16b4d4db.tar.gz
tcl-dcd11ad5da4dec127b5331f936c8a00d16b4d4db.tar.bz2
For Parse/eval & msgcat, select modernizations from Patrick Fradin + -debug fix
Diffstat (limited to 'tests/cmdInfo.test')
-rw-r--r--tests/cmdInfo.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/cmdInfo.test b/tests/cmdInfo.test
index 69d7171..0a587e8 100644
--- a/tests/cmdInfo.test
+++ b/tests/cmdInfo.test
@@ -13,10 +13,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 2
- namespace import -force ::tcltest::*
-}
+package require tcltest 2
+namespace import ::tcltest::*
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
@@ -101,7 +99,7 @@ test cmdinfo-6.1 {Names for commands created when outside namespaces} \
# cleanup
catch {namespace delete cmdInfoNs1::cmdInfoNs2 cmdInfoNs1}
catch {rename x1 ""}
-::tcltest::cleanupTests
+cleanupTests
return
# Local Variables: