seattlerb/minitest — pull request #75 by chastell (2011-12-10 15:16:43+00:00)
Title: Fix output for flipped infections with a message

Hi, I noticed recently that `1.must_equal 2, 'some message'` returns the wrong output; it says that it expected 1, but the actual was 2, whereas it should be the other way around (note that the message-less `1.must_equal 2` works as, um, expected).

This commit tests this and _seems to fix it_, but please, please, please do check whether this is a valid fix; the code in `infect_an_assertion` fries my brain a bit every time I take a look at it, and I’m far from assuming I got this right.

Thanks again for minitest, I love it dearly!