summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/event.test')
-rw-r--r--tests/event.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/event.test b/tests/event.test
index 2afd33e..8c26fee 100644
--- a/tests/event.test
+++ b/tests/event.test
@@ -9,18 +9,18 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: event.test,v 1.15 2002/01/27 11:09:23 das Exp $
+# RCS: @(#) $Id: event.test,v 1.16 2002/06/22 04:19:47 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest
+ package require tcltest 2
namespace import -force ::tcltest::*
}
-set ::tcltest::testConstraints(testfilehandler) \
+::tcltest::testConstraint testfilehandler \
[expr {[info commands testfilehandler] != {}}]
-set ::tcltest::testConstraints(testexithandler) \
+::tcltest::testConstraint testexithandler \
[expr {[info commands testexithandler] != {}}]
-set ::tcltest::testConstraints(testfilewait) \
+::tcltest::testConstraint testfilewait \
[expr {[info commands testfilewait] != {}}]
test event-1.1 {Tcl_CreateFileHandler, reading} {testfilehandler} {