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
Logged In: YES
user_id=80530
fixed for 8.4.3 and 8.5+