isaacs/node-tap — pull request #52 by substack (2012-07-27 22:28:37+00:00)
Title: End exception infinite loop

This pull request fixes issue #50 where exceptions in `t.on('end', fn)` listeners cause an infinite loop.
I added a failing test and then fixed the issue with a one-line change in `Test.prototype.threw` to check if the test had already been ended before calling `t.end()`.