summaryrefslogtreecommitdiffstats
path: root/tests/message.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/message.test')
-rw-r--r--tests/message.test7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/message.test b/tests/message.test
index 1d6e626..93344c4 100644
--- a/tests/message.test
+++ b/tests/message.test
@@ -7,10 +7,7 @@
# All rights reserved.
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]
+eval tcltest::configure $argv
tcltest::loadTestedCommands
option add *Message.borderWidth 2
@@ -119,5 +116,5 @@ test message-3.7 {MessageWidgetObjCmd procedure, "configure"} {
} {4}
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return