commit | 729e66dd3703fe1502a0124bbe308f5bef2bf2c8 | [log] [tgz] |
---|---|---|
author | cpovirk <cpovirk@google.com> | Wed Jul 22 07:09:24 2020 -0700 |
committer | Chris Povirk <beigetangerine@gmail.com> | Wed Jul 22 11:49:18 2020 -0400 |
tree | 09d0f6a93a1f68583c76a51d6819a95e391e1b06 | |
parent | 0ab291cc459a78350b69f1fb016e3de735b2b140 [diff] |
Use singletonList instead of ArrayList. This emphasizes that we don't mutate it. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=322567775
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 in the majority of the tests in Google’s own codebase.
Read more at the main website.