diff options
Diffstat (limited to 'tests/dcall.test')
| -rw-r--r-- | tests/dcall.test | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/dcall.test b/tests/dcall.test index 3df0ac8..d604c06 100644 --- a/tests/dcall.test +++ b/tests/dcall.test @@ -11,13 +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::* -} - -::tcltest::loadTestedCommands -catch [list package require -exact Tcltest [info patchlevel]] +package require tcltest 2 +namespace import ::tcltest::* testConstraint testdcall [llength [info commands testdcall]] @@ -41,5 +36,5 @@ test dcall-1.6 {deletion callbacks} testdcall { } {} # cleanup -::tcltest::cleanupTests +cleanupTests return |
