diff options
author | dgp <dgp@noemail.net> | 2006-05-04 12:34:36 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2006-05-04 12:34:36 (GMT) |
commit | 5dab7fb8ea32d29a436dfcac39b0b87a7ecf38a3 (patch) | |
tree | 924a385f237f2295aa51d8335ca9f18e50e50e33 /tests/expr-old.test | |
parent | 5f8a8bd0b5b403f56e4125d5ab49081e659ffd59 (diff) | |
download | tcl-5dab7fb8ea32d29a436dfcac39b0b87a7ecf38a3.zip tcl-5dab7fb8ea32d29a436dfcac39b0b87a7ecf38a3.tar.gz tcl-5dab7fb8ea32d29a436dfcac39b0b87a7ecf38a3.tar.bz2 |
* generic/tclExecute.c (ExprSrandFunc): Restore acceptance of wide
* tests/expr-old.test: integer values by srand() [Bug 1480509].
FossilOrigin-Name: bab9abe548fa45bbb19ee187b7df5c35733dbfd3
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 684ec01..85e346a 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.16.2.4 2005/11/01 16:18:16 dgp Exp $ +# RCS: @(#) $Id: expr-old.test,v 1.16.2.5 2006/05/04 12:34:39 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -811,7 +811,7 @@ test expr-old-32.47 {math functions in expressions} { } {1 {too few arguments for math function}} test expr-old-32.48 {math functions in expressions} { list [catch {expr srand(3.79)} msg] $msg -} {1 {can't use floating-point value as argument to srand}} +} {1 {expected integer but got "3.79"}} test expr-old-32.49 {math functions in expressions} { list [catch {expr srand("")} msg] $msg } {1 {argument to math function didn't have numeric value}} |