| commit | 1f81827f1b5512cb1bb4e09b1cd688337b155e0c | [log] [tgz] |
|---|---|---|
| author | cpovirk <cpovirk@google.com> | Fri Feb 02 17:50:46 2024 |
| committer | Google Java Core Libraries <java-libraries-firehose+copybara@google.com> | Fri Feb 02 17:51:22 2024 |
| tree | 6048081269889ad71cde67244fddcf5e9bc860bd | |
| parent | 9be8e774ca41a2a85c49d203bc47dac78861aeaa [diff] |
Copy `Truth8.assertThat` overloads for `Path` and `OptionalLong` to the main `Truth` class. (split off from cl/603361985 because I was waiting on fixes to a couple projects) We'll post some migration suggestions as part of the release notes. This is one of the remaining loose ends of https://github.com/google/truth/issues/746. RELNOTES=Added `Truth.assertThat(Path)` and `(OptionalLong)` overloads (copied from `Truth8`). PiperOrigin-RevId: 603713061
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.