summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]]