summaryrefslogtreecommitdiffstats
path: root/tests/binary.test
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2006-03-21 11:12:26 (GMT)
committerdkf <dkf@noemail.net>2006-03-21 11:12:26 (GMT)
commit3a82d5373c75113e70d9803c59fdfbaf6af99634 (patch)
treecb78904bbef94025a4f19257afc9211ee618e8ce /tests/binary.test
parent1358da471fe59ed5173bdbb4fea8d95cc3c328b7 (diff)
downloadtcl-3a82d5373c75113e70d9803c59fdfbaf6af99634.zip
tcl-3a82d5373c75113e70d9803c59fdfbaf6af99634.tar.gz
tcl-3a82d5373c75113e70d9803c59fdfbaf6af99634.tar.bz2
Use test constraints properly instead of looking in tcl_platform
Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
Diffstat (limited to 'tests/binary.test')
-rw-r--r--tests/binary.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/binary.test b/tests/binary.test
index 557e03d..70dc044 100644
--- a/tests/binary.test
+++ b/tests/binary.test
@@ -10,14 +10,14 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: binary.test,v 1.26 2005/12/02 17:34:03 dgp Exp $
+# RCS: @(#) $Id: binary.test,v 1.27 2006/03/21 11:12:28 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
namespace import -force ::tcltest::*
}
-::tcltest::testConstraint bigEndian [expr {$tcl_platform(byteOrder) eq "bigEndian"}]
-::tcltest::testConstraint littleEndian [expr {$tcl_platform(byteOrder) eq "littleEndian"}]
+testConstraint bigEndian [expr {$tcl_platform(byteOrder) eq "bigEndian"}]
+testConstraint littleEndian [expr {$tcl_platform(byteOrder) eq "littleEndian"}]
test binary-0.1 {DupByteArrayInternalRep} {
set hdr [binary format cc 0 0316]