diff options
Diffstat (limited to 'tests/notify.test')
| -rw-r--r-- | tests/notify.test | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/notify.test b/tests/notify.test index 840ad31..ba52c50 100644 --- a/tests/notify.test +++ b/tests/notify.test @@ -8,19 +8,16 @@ # built-in commands. Sourcing this file into Tcl runs the tests and # generates output for errors. No output means no errors were found. # -# Copyright © 2003 Kevin B. Kenny. All rights reserved. +# Copyright (c) 2003 by Kevin B. Kenny. All rights reserved. # # 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 +if {[lsearch [namespace children] ::tcltest] == -1} { + package require tcltest 2 namespace import -force ::tcltest::* } -::tcltest::loadTestedCommands -catch [list package require -exact tcl::test [info patchlevel]] - testConstraint testevent [llength [info commands testevent]] test notify-1.1 {Tcl_QueueEvent and delivery of a single event} \ |
