diff options
author | dgp <dgp@users.sourceforge.net> | 2018-06-26 14:23:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-06-26 14:23:22 (GMT) |
commit | bf884c9bc9d2e89919144c2271c72b96a1eebbef (patch) | |
tree | b38cd484643ad46a0e889e23c75b71d93b057083 /tests/chanio.test | |
parent | fdee46ab16b879589155729e6db4fdabe235880f (diff) | |
parent | ed5ed756bc5993edb110e13b90028646b413e92d (diff) | |
download | tcl-bf884c9bc9d2e89919144c2271c72b96a1eebbef.zip tcl-bf884c9bc9d2e89919144c2271c72b96a1eebbef.tar.gz tcl-bf884c9bc9d2e89919144c2271c72b96a1eebbef.tar.bz2 |
merge 8.6
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index b77f2aa..e7f51b3 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]] |