diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 16:17:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 16:17:54 (GMT) |
commit | ff4d10ce27761ddd1198159b6000f0194cd35c2c (patch) | |
tree | efc551e92c5378671aab2bdea5e658275327642f /tests/expr.test | |
parent | 3a13b3b940216a3791902631b76202e243d7a52e (diff) | |
parent | 6e6d624ec313279bd797e6db63464f8b3f215e1e (diff) | |
download | tcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.zip tcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.tar.gz tcl-ff4d10ce27761ddd1198159b6000f0194cd35c2c.tar.bz2 |
Merge 8.7
Diffstat (limited to 'tests/expr.test')
-rw-r--r-- | tests/expr.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/expr.test b/tests/expr.test index d9eaed1..e8116d6 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -684,13 +684,13 @@ test expr-15.3 {CompileMathFuncCall: too many arguments} -body { test expr-15.4 {CompileMathFuncCall: ')' found before last required arg} -body { catch {expr sin()} msg set ::errorInfo -} -match glob -result {too few arguments for math function* +} -match glob -result {not enough arguments for math function* while *ing "expr sin()"} -test expr-15.5 {CompileMathFuncCall: too few arguments} -body { +test expr-15.5 {CompileMathFuncCall: not enough arguments} -body { catch {expr pow(1)} msg set ::errorInfo -} -match glob -result {too few arguments for math function* +} -match glob -result {not enough arguments for math function* while *ing "expr pow(1)"} test expr-15.6 {CompileMathFuncCall: missing ')'} -body { @@ -7250,7 +7250,7 @@ test expr-52.1 { foreach func {isfinite isinf isnan isnormal issubnormal} { test expr-53.1.$func {float classification: basic arg handling} -body { expr ${func}() - } -returnCodes error -result "too few arguments for math function \"$func\"" + } -returnCodes error -result "not enough arguments for math function \"$func\"" test expr-53.2.$func {float classification: basic arg handling} -body { expr ${func}(1,2) } -returnCodes error -result "too many arguments for math function \"$func\"" @@ -7345,10 +7345,10 @@ test expr-59.12 {float classification: fpclassify} -returnCodes error -body { test expr-60.1 {float classification: basic arg handling} -body { expr isunordered() -} -returnCodes error -result {too few arguments for math function "isunordered"} +} -returnCodes error -result {not enough arguments for math function "isunordered"} test expr-60.2 {float classification: basic arg handling} -body { expr isunordered(1) -} -returnCodes error -result {too few arguments for math function "isunordered"} +} -returnCodes error -result {not enough arguments for math function "isunordered"} test expr-60.3 {float classification: basic arg handling} -body { expr {isunordered(1, 2, 3)} } -returnCodes error -result {too many arguments for math function "isunordered"} |