diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 15:07:03 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-26 15:07:03 (GMT) |
| commit | 34d3750e3ce6bd9d08b641e6f99b992ad80740b1 (patch) | |
| tree | 26a8f502102bfcadba52f027e82956d3886ca679 /tests/expr.test | |
| parent | 1c788e178d149302a1d9d5265bc46120de4f5a6a (diff) | |
| download | tcl-34d3750e3ce6bd9d08b641e6f99b992ad80740b1.zip tcl-34d3750e3ce6bd9d08b641e6f99b992ad80740b1.tar.gz tcl-34d3750e3ce6bd9d08b641e6f99b992ad80740b1.tar.bz2 | |
Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent error messages)
Diffstat (limited to 'tests/expr.test')
| -rw-r--r-- | tests/expr.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/expr.test b/tests/expr.test index d2f767d..37d8fe3 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -673,13 +673,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 { |
