summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-31 18:46:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-31 18:46:55 (GMT)
commitba52e24e9e0f85b51cf4cce78edac070f2303dff (patch)
tree265f6b7d4875724b3c63f34e8f8e4f30e59718e9 /tests
parent78910273c3cf2a299dee59d26531a93f51262727 (diff)
downloadtcl-ba52e24e9e0f85b51cf4cce78edac070f2303dff.zip
tcl-ba52e24e9e0f85b51cf4cce78edac070f2303dff.tar.gz
tcl-ba52e24e9e0f85b51cf4cce78edac070f2303dff.tar.bz2
Fix pseudo-constraint
Diffstat (limited to 'tests')
-rw-r--r--tests/compExpr-old.test4
-rw-r--r--tests/expr-old.test4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/compExpr-old.test b/tests/compExpr-old.test
index 8ce962d..c770729 100644
--- a/tests/compExpr-old.test
+++ b/tests/compExpr-old.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: compExpr-old.test,v 1.10 2004/09/26 16:36:05 msofer Exp $
+# RCS: @(#) $Id: compExpr-old.test,v 1.11 2004/10/31 18:46:55 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -300,7 +300,7 @@ test compExpr-old-9.4 {CompileRelationalExpr: just shift expr} {expr {1<<3}} 8
# The following test is different for 32-bit versus 64-bit
# architectures because LONG_MIN is different
-if {0x80000000 > 0} {
+if {int(0x80000000) > 0} {
test compExpr-old-9.5 {CompileRelationalExpr: shift expr producing LONG_MIN} {nonPortable} {
expr {1<<63}
} -9223372036854775808
diff --git a/tests/expr-old.test b/tests/expr-old.test
index 4025839..f5b17de 100644
--- a/tests/expr-old.test
+++ b/tests/expr-old.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: expr-old.test,v 1.20 2004/07/03 21:36:33 msofer Exp $
+# RCS: @(#) $Id: expr-old.test,v 1.21 2004/10/31 18:48:16 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -729,7 +729,7 @@ test expr-old-32.24 {math functions in expressions} {
# The following test is different for 32-bit versus 64-bit architectures.
-if {0x80000000 > 0} {
+if {int(0x80000000) > 0} {
test expr-old-32.25a {math functions in expressions} {nonPortable} {
list [catch {expr abs(0x8000000000000000)} msg] $msg
} {1 {integer value too large to represent}}