diff options
author | dgp <dgp@users.sourceforge.net> | 2005-11-01 16:41:20 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-11-01 16:41:20 (GMT) |
commit | 1b435abc4154bcc21eab372039b43f00d9216aff (patch) | |
tree | 34dbac2629e54790b9483126cf543a28720621af /tests/expr-old.test | |
parent | 3d477f55379e35185630a523266f4bbe2fd816cc (diff) | |
download | tcl-1b435abc4154bcc21eab372039b43f00d9216aff.zip tcl-1b435abc4154bcc21eab372039b43f00d9216aff.tar.gz tcl-1b435abc4154bcc21eab372039b43f00d9216aff.tar.bz2 |
* tests/unixNotfy.test (1.1,2): Update error message whitespace to
match changes in code.
* tests/expr-old.test (expr-32.52): Use int(.) to restrict
result of left shift to the C long range.
Diffstat (limited to 'tests/expr-old.test')
-rw-r--r-- | tests/expr-old.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expr-old.test b/tests/expr-old.test index 86c7e5a..971ea05 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.29 2005/10/21 20:44:17 dgp Exp $ +# RCS: @(#) $Id: expr-old.test,v 1.30 2005/11/01 16:41:20 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -875,7 +875,7 @@ test expr-old-32.51 {math functions in expressions} knownBug { list [catch {expr {srand([lindex "6ty" 0])}} msg] $msg } {1 {argument to math function didn't have numeric value}} test expr-old-32.52 {math functions in expressions} { - expr {srand(1<<37) < 1} + expr {srand(int(1<<37)) < 1} } {1} test expr-old-32.53 {math functions in expressions} { expr {srand((1<<31) - 1) > 0} |