summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-09-18 19:24:53 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-09-18 19:24:53 (GMT)
commitdb2dab191d956abec9f57c0ff0b8b66c99a3e2ca (patch)
tree0679f448060276303bb27ed7478d9fef74ca6a35 /tests/expr.test
parent9a4d29bde94d4183ffa1066d4da062e4a2a4e7f2 (diff)
downloadtcl-db2dab191d956abec9f57c0ff0b8b66c99a3e2ca.zip
tcl-db2dab191d956abec9f57c0ff0b8b66c99a3e2ca.tar.gz
tcl-db2dab191d956abec9f57c0ff0b8b66c99a3e2ca.tar.bz2
Fix silly mistakes :} and make sure that the original bug is a test case.
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 028f56f..001412c 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -10,7 +10,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.test,v 1.23 2004/09/18 18:04:06 dkf Exp $
+# RCS: @(#) $Id: expr.test,v 1.24 2004/09/18 19:24:54 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -867,8 +867,9 @@ test expr-24.3 {expr edge cases; shifting} {expr wide(5)>>32} 0
test expr-24.4 {expr edge cases; shifting} {expr wide(5)>>63} 0
test expr-24.5 {expr edge cases; shifting} {expr int(5)<<32} 0
test expr-24.6 {expr edge cases; shifting} {expr int(5)<<63} 0
-test expr-24.7 {expr edge cases; shifting} {expr wide(5)<<32} 0
-test expr-24.8 {expr edge cases; shifting} {expr wide(5)<<63} 0
+test expr-24.7 {expr edge cases; shifting} {expr wide(5)<<32} 21474836480
+test expr-24.8 {expr edge cases; shifting} {expr wide(10)<<63} 0
+test expr-24.9 {expr edge cases; shifting} {expr 5>>32} 0
# cleanup
if {[info exists a]} {