summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 15:07:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-26 15:07:03 (GMT)
commit34d3750e3ce6bd9d08b641e6f99b992ad80740b1 (patch)
tree26a8f502102bfcadba52f027e82956d3886ca679 /tests/expr.test
parent1c788e178d149302a1d9d5265bc46120de4f5a6a (diff)
downloadtcl-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.test6
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 {