summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chanio.test')
-rw-r--r--tests/chanio.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chanio.test b/tests/chanio.test
index 16244e2..4f5c328 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -37,7 +37,7 @@ namespace eval ::tcl::test::io {
catch {
::tcltest::loadTestedCommands
package require -exact tcl::test [info patchlevel]
- set ::tcltestlib [lindex [package ifneeded tcl::test [info patchlevel]] 1]
+ set ::tcltestlib [info loaded {} Tcltest]
}
package require tcltests