# from Michael G Schwern # on Tuesday 06 March 2007 04:40 pm: >Eric Wilhelm wrote: >> At the bottom of a test file: >> >> {my $finish = 1; END {$finish or die "\n unplanned exit"}}; >> >> Yeah, you have to remember to put it at the end of the file, but it >> may be easier than counting tests. Thoughts? Maybe an 'until_done' >> directive and 'tests_done' function? Ways to check that there is no >> code after tests_done()? > >*sigh* Nobody ever looks at the ticket tracker.
Gah! When I look at the tracker, it is always empty. When I don't, it is always full. I guess I should start a service where the act of me looking at the tracker keeps it empty :-D >http://rt.cpan.org/Public/Bug/Display.html?id=20959 It sounds like this needs work in the done() functionality. Also, it's not clear at first reading whether a prefixed plan is able to make the done() into a no-op. Ah well, on the pile it goes. --Eric -- "Everything should be made as simple as possible, but no simpler." --Albert Einstein --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------