diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 16:15:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 16:15:30 (GMT) |
commit | 6e6d624ec313279bd797e6db63464f8b3f215e1e (patch) | |
tree | bd84f26414b5b658711c95e946e95907f87c8b1e /tests/expr.test | |
parent | 48d0827130389368a247f26b480bd819a1c753e5 (diff) | |
parent | 34d3750e3ce6bd9d08b641e6f99b992ad80740b1 (diff) | |
download | tcl-6e6d624ec313279bd797e6db63464f8b3f215e1e.zip tcl-6e6d624ec313279bd797e6db63464f8b3f215e1e.tar.gz tcl-6e6d624ec313279bd797e6db63464f8b3f215e1e.tar.bz2 |
Merge 8.6
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 0b4fa2b..5e00841 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -685,13 +685,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 { @@ -7251,7 +7251,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\"" @@ -7346,10 +7346,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"} |