| Ticket UUID: | 1844106 | |||
| Title: | snit test suite failures against tcllib cvs head | |||
| Type: | Bug | Version: | None | |
| Submitter: | lvirden | Created on: | 2007-12-04 14:41:43 | |
| Subsystem: | snit | Assigned To: | andreas_kupries | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2007-12-05 02:05:27 | |
| Resolution: | Fixed | Closed By: | andreas_kupries | |
| Closed on: | 2007-12-04 19:05:27 | |||
| Description: |
platform: sparc solaris 9
tcl: cvs head 8.5
tcllib cvs head 2.2.1
---- dtypemethod-1.6a start
==== dtypemethod-1.6a delegating unknown typemethod to existing typecomponent wi
th error FAILED
==== Contents of test case:
type dog {
delegate typemethod * to stringhandler
typeconstructor {
set stringhandler string
}
}
dog foo bar
---- Result was:
unknown or ambiguous subcommand "foo": must be bytelength, compare, equal, first
, index, is, last, length, map, match, range, repeat, replace, reverse, tolower,
totitle, toupper, trim, trimleft, trimright, wordend, or wordstart
---- Result should have been (exact matching):
bad option "foo": must be bytelength, compare, equal, first, index, is, last, le
ngth, map, match, range, repeat, replace, reverse, tolower, toupper, totitle, tr
im, trimleft, trimright, wordend, or wordstart
==== dtypemethod-1.6a FAILED
==== dmethod-1.6a delegating unknown method to existing component with error FAI
LED
==== Contents of test case:
type dog {
constructor {args} {
set stringhandler string
}
delegate method * to stringhandler
}
dog create spot
spot foo bar
---- Result was:
unknown or ambiguous subcommand "foo": must be bytelength, compare, equal, first
, index, is, last, length, map, match, range, repeat, replace, reverse, tolower,
totitle, toupper, trim, trimleft, trimright, wordend, or wordstart
---- Result should have been (exact matching):
bad option "foo": must be bytelength, compare, equal, first, index, is, last, le
ngth, map, match, range, repeat, replace, reverse, tolower, toupper, totitle, tr
im, trimleft, trimright, wordend, or wordstart
==== dmethod-1.6a FAILED
| |||
| User Comments: |
andreas_kupries added on 2007-12-05 02:05:27:
Logged In: YES user_id=75003 Originator: NO Fixed and fix committed to CVS. andreas_kupries added on 2007-12-05 01:28:20: Logged In: YES user_id=75003 Originator: NO Right. Missed that one. [email protected] added on 2007-12-05 01:00:34: Logged In: NO Also, the error message begins with a different string: "unknown or ambiguous subcommand" as opposed to "bad option". andreas_kupries added on 2007-12-05 00:49:10: Logged In: YES user_id=75003 Originator: NO This tests relies on the output of the builtin string command of the core in case a bogus method is used. It seems that the methods 'totitle' and 'toupper' have switched places. The new order is alphabetical ... It seems that the two tests are both already constrained to Tcl 8.5 only, that makes fixing it trivial, no need to create separate test cases for 8.4/8.5. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki