junit-team/junit — pull request #745 by peter-lawrey (2013-10-08 16:42:38+00:00)
Title: Don't create objects without a failure.

For integer types in particular, creating two Long objects every time is expensive. Doing a long == long is much cheaper and doesn't create garbage unless there is a failure.