summaryrefslogtreecommitdiffstats
path: root/tests/parseExpr.test
diff options
context:
space:
mode:
authoravl <avl>2017-03-05 19:38:43 (GMT)
committeravl <avl>2017-03-05 19:38:43 (GMT)
commit465ee21b4398dd928e24e7241f4ebf0be3601df7 (patch)
tree0574472bdfe596237867ca6a3b3f51cbdd546f7f /tests/parseExpr.test
parentca4151477f00d6c5aa468ada3361a8cf76208eaa (diff)
downloadtcl-tip_465.zip
tcl-tip_465.tar.gz
tcl-tip_465.tar.bz2
Deal with backslashes in ${...}, change "char" to "character" in error, fix tests.tip_465
Diffstat (limited to 'tests/parseExpr.test')
-rw-r--r--tests/parseExpr.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test
index 47dbec5..e0c979c 100644
--- a/tests/parseExpr.test
+++ b/tests/parseExpr.test
@@ -917,8 +917,8 @@ test parseExpr-21.43 {error message} -body {
in expression \"...8901234567890*\"foobar\$\{abcdefghijklmnopqrstuv...\""
test parseExpr-21.44 {error message} -body {
expr {123456789012345678901234567890*"foo$bar(abcdefghijklmnopqrstuvwxyz"}
-} -returnCodes error -result {missing )
-in expression "...8901234567890*"foo$bar(abcdefghijklmnopqrstuv..."}
+} -returnCodes error -result {invalid character in array index
+in expression "...8901234567890*"foo$bar(abcdefghijklmnopqrstu..."}
test parseExpr-21.45 {error message} -body {
expr {123456789012345678901234567890*"foo$bar([{}abcdefghijklmnopqrstuvwxyz])"}
} -returnCodes error -result {extra characters after close-brace