rspec/rspec-core — pull request #622 by slyphon (2012-05-18 15:25:37+00:00)
Title: call #to_s on exception_message before calling #split

I figure I should mention this, even though i can't come up with an exact reproduction case (also, since it *only* seems to affect 1.8.7 it's probably just worth it to wait until EOL and say "sorry"), but...

When 1.8.7 is shutting down its threads, and you're stuck in a Monitor, it will eventually raise a SystemExit, and that SystemExit may have an instance of Exception as its `#message` (instead of a String) which causes the formatter to blow up.

I know this is the edgiest of edge cases (I seem to be on a streak this week of hitting all of these), but I hit this particular case, and thought "what the hell it's a one line patch"