diff options
author | dgp <dgp@users.sourceforge.net> | 2018-06-26 14:22:08 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-06-26 14:22:08 (GMT) |
commit | ed5ed756bc5993edb110e13b90028646b413e92d (patch) | |
tree | 4701c05b55741078b03449acf08973711282aacd /tests/chanio.test | |
parent | 0839047d8bed631eeb82c7c3e26b0f13461717e6 (diff) | |
download | tcl-ed5ed756bc5993edb110e13b90028646b413e92d.zip tcl-ed5ed756bc5993edb110e13b90028646b413e92d.tar.gz tcl-ed5ed756bc5993edb110e13b90028646b413e92d.tar.bz2 |
Restore lost tests.
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index 492c11e..6408f50 100644 --- a/tests/chanio.test +++ b/tests/chanio.test @@ -13,16 +13,11 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. +# TODO: This test is likely worthless. Confirm and remove if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 - namespace import -force ::tcltest::* } -::tcltest::loadTestedCommands -catch [list package require -exact Tcltest [info patchlevel]] - -testConstraint testbytestring [llength [info commands testbytestring]] - namespace eval ::tcl::test::io { namespace import ::tcltest::* @@ -35,9 +30,11 @@ namespace eval ::tcl::test::io { variable msg variable expected - ::tcltest::loadTestedCommands + loadTestedCommands catch [list package require -exact Tcltest [info patchlevel]] + package require tcltests + testConstraint testbytestring [llength [info commands testbytestring]] testConstraint testchannel [llength [info commands testchannel]] testConstraint openpipe 1 testConstraint testfevent [llength [info commands testfevent]] |