1.1.2
This release completes the feature that I got wrong in 1.1.1 -- the ability to exclude our JUnit 4 dependency and still use standard Truth assertions.
- Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- really this time, even in cases in which excluding the dependency failed under 1.1.1. (JUnit 4 is still required for some advanced features, like
Expect
,ExpectFailure
, andTruthJUnit.assume()
.) (948f3ed) - When JUnit 4 is excluded from the classpath, the
AssertionError
Truth generates as a substitute forComparisonFailure
now includes the expected and actual values that were missing in 1.1.1. (6b01407)