summaryrefslogtreecommitdiffstats
path: root/tests/expr-old.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 16:17:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 16:17:54 (GMT)
commitff4d10ce27761ddd1198159b6000f0194cd35c2c (patch)
treeefc551e92c5378671aab2bdea5e658275327642f /tests/expr-old.test
parent3a13b3b940216a3791902631b76202e243d7a52e (diff)
parent6e6d624ec313279bd797e6db63464f8b3f215e1e (diff)
downloadtcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.zip
tcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.tar.gz
tcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/expr-old.test')
-rw-r--r--tests/expr-old.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/expr-old.test b/tests/expr-old.test
index 77e5f75..7250ab9 100644
--- a/tests/expr-old.test
+++ b/tests/expr-old.test
@@ -852,7 +852,7 @@ test expr-old-32.46 {math functions in expressions} -body {
} -match glob -result {1 {too many arguments for math function*}}
test expr-old-32.47 {math functions in expressions} -body {
list [catch {expr srand()} msg] $msg
-} -match glob -result {1 {too few arguments for math function*}}
+} -match glob -result {1 {not enough arguments for math function*}}
test expr-old-32.48 {math functions in expressions} -body {
expr srand(3.79)
} -returnCodes error -match glob -result *
@@ -909,7 +909,7 @@ test expr-old-34.6 {errors in math functions} -body {
} -returnCodes error -match glob -result *
test expr-old-34.7 {errors in math functions} -body {
list [catch {expr hypot(1.0)} msg] $msg
-} -match glob -result {1 {too few arguments for math function*}}
+} -match glob -result {1 {not enough arguments for math function*}}
test expr-old-34.8 {errors in math functions} -body {
list [catch {expr hypot(1.0, 2.0, 3.0)} msg] $msg
} -match glob -result {1 {too many arguments for math function*}}
@@ -1151,7 +1151,7 @@ test expr-old-40.2 {min math function} -body {
} -result 0.0
test expr-old-40.3 {min math function} -body {
expr {min()}
-} -returnCodes error -result {too few arguments for math function "min"}
+} -returnCodes error -result {not enough arguments for math function "min"}
test expr-old-40.4 {min math function} -body {
expr {min(wide(-1) << 30, 4.5, -10)}
} -result [expr {wide(-1) << 30}]
@@ -1176,7 +1176,7 @@ test expr-old-41.2 {max math function} -body {
} -result 0.0
test expr-old-41.3 {max math function} -body {
expr {max()}
-} -returnCodes error -result {too few arguments for math function "max"}
+} -returnCodes error -result {not enough arguments for math function "max"}
test expr-old-41.4 {max math function} -body {
expr {max(wide(1) << 30, 4.5, -10)}
} -result [expr {wide(1) << 30}]