tpope/fivemat — pull request #20 by BRMatt (2014-04-23 23:11:33+00:00)
Title: Gracefully handle failures in Rspec 3 formatter.

fixes tpope/fivemat#19

[Waiting to hear back from Myron](https://twitter.com/BRMatt/status/459105545480572928) as to whether this is the correct approach, but it seems to fix things for me.

Using the example test case from tpop/fivemat#19:

```
a pending test that fails *
a pending test that passes F
1) a pending test that passes this fails! FIXED
Expected pending 'this fails!' to fail. No Error was raised.
# ./test_spec.rb:11:in `block in '
# ./test_spec.rb:10:in `'
a failing test F
2) a failing test should not cause fivemat to crash
Failure/Error: raise "Hello"
RuntimeError:
Hello
# ./test_spec.rb:18:in `block (2 levels) in '

Finished in 0.00937 seconds
3 examples, 2 failures, 1 pending

Failed examples:

rspec ./test_spec.rb:11 # a pending test that passes this fails!
rspec ./test_spec.rb:17 # a failing test should not cause fivemat to crash
```