aboutsummaryrefslogtreecommitdiff
path: root/lang/tclX
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2014-08-02 01:00:04 +0000
committerMikhail Teterin <mi@FreeBSD.org>2014-08-02 01:00:04 +0000
commitb6dd14d4c8beaf0a0609bf32e7f89e639c695243 (patch)
treeb7df2884a84871c1e21b0f08fcb5be5ebd11f01e /lang/tclX
parenta4d1570b481d83af37569add95f5fba25123c29c (diff)
downloadports-b6dd14d4c8beaf0a0609bf32e7f89e639c695243.tar.gz
ports-b6dd14d4c8beaf0a0609bf32e7f89e639c695243.zip
Fix the string-test to match today's 8.5 error-messages.
Notes
Notes: svn path=/head/; revision=363774
Diffstat (limited to 'lang/tclX')
-rw-r--r--lang/tclX/files/tcl85-test-patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/tclX/files/tcl85-test-patch b/lang/tclX/files/tcl85-test-patch
index e647f20f0231..cfd07de15ec8 100644
--- a/lang/tclX/files/tcl85-test-patch
+++ b/lang/tclX/files/tcl85-test-patch
@@ -56,7 +56,7 @@ Tcl-versions, should still do that...
ERRORCODE]
--- tests/string.test 2002-09-25 20:19:02.000000000 -0400
+++ tests/string.test 2009-10-13 18:25:03.000000000 -0400
-@@ -47,9 +47,21 @@
+@@ -47,9 +47,18 @@
} 0 {E}
+switch $tcl_version {
@@ -64,14 +64,11 @@ Tcl-versions, should still do that...
+ set anticipate "syntax error in expression \"4x-3\""
+} 8.4 {
+ set anticipate "syntax error in expression \"4x-3\": extra tokens at end of expression"
-+} 8.5 {
-+ set anticipate {invalid bareword "x"
-+in expression "4_@_x-3";
-+should be "$x" or "{x}" or "x(...)" or ...}
+} default {
+ set anticipate {invalid bareword "4x"
+in expression "4x-3";
+should be "$4x" or "{4x}" or "4x(...)" or ...}
++}}
+
Test string-1.7 {cindex tests} {
- cindex ABCDEFG lenx-3