summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-13 09:13:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-13 09:13:58 (GMT)
commit536fa414303d6592bc8d210eb488932d45099f2d (patch)
tree80874c70932b5992a16450709e9f4e3f5bc94cf8 /tests
parent7e1c8376fc768e38d0a07145c3afafa0361c2f43 (diff)
downloadtcl-536fa414303d6592bc8d210eb488932d45099f2d.zip
tcl-536fa414303d6592bc8d210eb488932d45099f2d.tar.gz
tcl-536fa414303d6592bc8d210eb488932d45099f2d.tar.bz2
Missing ::tcltest::loadTestedCommands
Diffstat (limited to 'tests')
-rw-r--r--tests/append.test1
-rw-r--r--tests/binary.test2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/append.test b/tests/append.test
index 242b1a2..0708fc5 100644
--- a/tests/append.test
+++ b/tests/append.test
@@ -15,6 +15,7 @@ if {"::tcltest" ni [namespace children]} {
package require tcltest 2.5
namespace import -force ::tcltest::*
}
+::tcltest::loadTestedCommands
unset -nocomplain x
test append-1.1 {append command} {
diff --git a/tests/binary.test b/tests/binary.test
index 36e31ce..6cd209d 100644
--- a/tests/binary.test
+++ b/tests/binary.test
@@ -14,6 +14,8 @@ if {"::tcltest" ni [namespace children]} {
package require tcltest 2.5
namespace import -force ::tcltest::*
}
+::tcltest::loadTestedCommands
+
testConstraint bigEndian [expr {$tcl_platform(byteOrder) eq "bigEndian"}]
testConstraint littleEndian [expr {$tcl_platform(byteOrder) eq "littleEndian"}]
testConstraint testbytestring [llength [info commands testbytestring]]