summaryrefslogtreecommitdiffstats
path: root/tests/expr-old.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2020-11-01 14:25:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2020-11-01 14:25:49 (GMT)
commitb7efdfe9bc03114b633073ed9d4423e4f88582c5 (patch)
treedef8a718bfc5e1ea62892acbdad2afda27b07a3b /tests/expr-old.test
parent63855497af431a6ee84d67b62ade8694485d76c9 (diff)
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.zip
tcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.tar.gz
tcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.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 ff63b12..327faa2 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*}}
@@ -1150,7 +1150,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}]
@@ -1175,7 +1175,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}]