commit | e44edd162870d4c651389e7d4ffaeb82212b2afc | [log] [tgz] |
---|---|---|
author | cpovirk <cpovirk@google.com> | Fri Apr 06 10:49:12 2018 -0700 |
committer | Ron Shapiro <shapiro.rd@gmail.com> | Wed Apr 11 13:37:18 2018 -0400 |
tree | c016e8d1523a3189ebc0f04c26221df3c58bf33f | |
parent | 05c177947a031c7fff6de408a0dd8be05dfa1a47 [diff] |
Throw ComparisonFailure from assertThat(singleElementIterable).containsExactly(otherSingleElementIterable). RELNOTES=Began throwing `ComparisonFailure` from `assertThat(singleElementIterable).containsExactly(otherSingleElementIterable)`. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=191909189
Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.
Truth is owned and maintained by the Guava team. It is used from the majority of the tests in Google’s own codebase.
Read more at the main website.