diff options
Diffstat (limited to 'tk/tests/geometry.test')
-rw-r--r-- | tk/tests/geometry.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tk/tests/geometry.test b/tk/tests/geometry.test index 5a0c495229b..ca7cfa7d983 100644 --- a/tk/tests/geometry.test +++ b/tk/tests/geometry.test @@ -9,13 +9,13 @@ # # RCS: @(#) $Id$ -if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] -} +package require tcltest 2.1 +namespace import -force tcltest::configure +namespace import -force tcltest::testsDirectory +configure -testdir [file join [pwd] [file dirname [info script]]] +configure -loadfile [file join [testsDirectory] constraints.tcl] +tcltest::loadTestedCommands -foreach i [winfo children .] { - destroy $i -} wm geometry . 300x300 raise . update |