summaryrefslogtreecommitdiffstats
path: root/tests/cmdInfo.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cmdInfo.test')
-rw-r--r--tests/cmdInfo.test15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/cmdInfo.test b/tests/cmdInfo.test
index 37b8a0b..112318f 100644
--- a/tests/cmdInfo.test
+++ b/tests/cmdInfo.test
@@ -6,20 +6,15 @@
# and generates output for errors. No output means no errors were
# found.
#
-# Copyright © 1993 The Regents of the University of California.
-# Copyright © 1994-1996 Sun Microsystems, Inc.
-# Copyright © 1998-1999 Scriptics Corporation.
+# Copyright (c) 1993 The Regents of the University of California.
+# Copyright (c) 1994-1996 Sun Microsystems, Inc.
+# Copyright (c) 1998-1999 by Scriptics Corporation.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {"::tcltest" ni [namespace children]} {
- package require tcltest 2.5
- namespace import -force ::tcltest::*
-}
-
-::tcltest::loadTestedCommands
-catch [list package require -exact tcl::test [info patchlevel]]
+package require tcltest 2
+namespace import ::tcltest::*
testConstraint testcmdinfo [llength [info commands testcmdinfo]]
testConstraint testcmdtoken [llength [info commands testcmdtoken]]