Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tiny but annoying docu bug

Closed / Fixed700011ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-08 16:49:34
Hi,
in the example section for the tcltest package the
example given in [7] is not correct: It looks like

 test example-1 {} -setup $SETUP {
    # First test
    } -cleanup $CLEANUP -result {...}

when it should say

 test example-1 {} -setup $SETUP -body {
    # First test
    } -cleanup $CLEANUP -result {...}

This caused me a lot of head-scratching, because
- this is my first expereience with tcltest
- I had copied this example into my test file and when I
- finally arrived at the point where I found it useful
to use 'setup' and 'cleanup' nothing worked.

Of course staring at the example didn't help any.

Best regards
Helmut Giese
dgpplain2003-03-09 04:47:15
Logged In: YES 
user_id=80530

fixed for 8.4.3 and 8.5+
dgp Closed ticket [700011ffff]. [History diff]2003-03-09 05:10:21
Log in (anonymous is fine) to add a comment.