joel-costigliola/assertj-core — pull request #209 by jcgay (2014-05-24 16:29:38+00:00)
Title: SoftAssertionsTest can fail

Fix failing test when running from a short path

When running tests from a relatively short path, for example /tmp/a, it fails

Failed tests:
SoftAssertionsTest.should_be_able_to_catch_exceptions_thrown_by_all_proxied_methods:163
Expecting:
<"expected: but was:">
to contain:
<["expected:<...", "[b]> but was:<...", "[a]>"]>
but could not find:
<["expected:<...", "[b]> but was:<..."]>

I have override the error message with a static one to not depends on the way it is
dynamically built.