Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-07-29
19:52 • Ticket [490298ffff] Add tcltest::test -match list status still Closed with 4... artifact: 52da1f5129 user: dkf
2008-11-21
21:26 • Ticket [490298ffff]: 7 changes artifact: 1f6a05d972 user: dkf
2002-06-01
04:15 • Closed ticket [490298ffff]. artifact: bd34852605 user: dgp
2001-12-08
06:03 • Ticket [490298ffff]: 4 changes artifact: c561074d69 user: melissachawla
2001-12-07
17:04 • New ticket [490298ffff]. artifact: 75e333c8f7 user: dgp

Add tcltest::test -match list

Closed490298ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 17 years ago
Descriptionplain2001-12-07 17:04:53
Add a new option, list, to the -match switch
of [tcltest::test] that matches if the
result of the test represents the "same list"
as the expected value.  This should treat all
strings that would be accepted as the same
list by Tcl as an equivalence class.  For example,

"a b c" 

would match 

"{a} {b} \c"
melissachawlaplain2001-12-08 06:03:24
Logged In: YES 
user_id=225959

I forsee people wanting many different flavors of result 
matching.  Maybe the next step is the add a
    -match command <command>
option, that works like the -command option to lsort.
dgpplain2002-06-01 04:15:08
Logged In: YES 
user_id=80530

With acceptance of TIP 85, the ability
to add a new -match value is easily
achieved with a call to [customMatch],
making this FR out of date.
dkfplain2008-11-21 21:26:14
data_type - 210894
dkfplain2009-07-29 19:52:16
IP - Comment Removed: 130.88.1.31
Log in (anonymous is fine) to add a comment.