Menu

#58 tclx string.test fails against tcl 8.5.4

open
nobody
None
5
2008-10-15
2008-10-15
No

platform: sparc solaris 8 and sun c compiler
tcl: 8.5.4 release

When running the test suite, I see this error:
string.test

==== string-1.7 cindex tests FAILED
==== Contents of test case:
list [catch {
cindex ABCDEFG lenx-3
} msg] $msg
---- Result was:
1 {invalid bareword "x"
in expression "7_@_x-3";
should be "$x" or "{x}" or "x(...)" or ...}
---- Result should have been (exact matching):
1 {syntax error in expression "7x-3": extra tokens at end of expression}
==== string-1.7 FAILED

==== string-3.8 crange tests FAILED
==== Contents of test case:
list [catch {
# 8.4+ enhanced the error return from expressions
crange ABCD lenx-3 end-1
} msg] $msg
---- Result was:
1 {invalid bareword "x"
in expression "4_@_x-3";
should be "$x" or "{x}" or "x(...)" or ...}
---- Result should have been (exact matching):
1 {syntax error in expression "4x-3": extra tokens at end of expression}
==== string-3.8 FAILED

Discussion


Log in to post a comment.