summaryrefslogtreecommitdiffstats
path: root/tests/cmdInfo.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-03 17:17:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-03 17:17:47 (GMT)
commit3c3f3d4561fe16f54fc6ded233112c6040ab5e77 (patch)
tree85ae40b56e9038a7a38c1898d87851171e1174ea /tests/cmdInfo.test
parent1d5118fd6cf705d79ec670284492d9eff6637965 (diff)
parentb0bf6914f1e11ba4b7a127dcda5cd48f96976a33 (diff)
downloadtcl-3c3f3d4561fe16f54fc6ded233112c6040ab5e77.zip
tcl-3c3f3d4561fe16f54fc6ded233112c6040ab5e77.tar.gz
tcl-3c3f3d4561fe16f54fc6ded233112c6040ab5e77.tar.bz2
merge novem
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: