seattlerb/minitest — pull request #145 by floehopper (2012-07-18 14:48:26+00:00)
Title: Assertion failing in teardown-related code should mark test as failed.

Assertions that occur within teardown-related code do not mark the test
as failed i.e. although `Unit#failures` is incremented and the `result`
is set to "E", `TestCase#passed?` returns `true`.

Neither `TestCase#passed?` nor its associated instance variable
`@passed` appear to be used internally, so this isn't currently causing
any problems within `MiniTest` itself. However, the `#passed?` method is
exposed as part of the API and its inconsistent behaviour has caused me
some confusion.