Menu

#2227 Tiny but annoying docu bug

obsolete: 8.4.2
closed-fixed
5
2003-03-08
2003-03-08
No

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

Discussion

  • Don Porter

    Don Porter - 2003-03-08

    Logged In: YES
    user_id=80530

    fixed for 8.4.3 and 8.5+

     
  • Don Porter

    Don Porter - 2003-03-08
    • labels: 310733 -->
    • assigned_to: dgp --> nobody
    • status: open --> open-fixed
     
  • Don Porter

    Don Porter - 2003-03-08
    • labels: --> 34. tcltest Package
    • milestone: --> obsolete: 8.4.2
    • assigned_to: nobody --> dgp
    • status: open-fixed --> closed-fixed