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
2 files changed
tree: 6048081269889ad71cde67244fddcf5e9bc860bd
  1. .github/
  2. core/
  3. extensions/
  4. refactorings/
  5. util/
  6. .gitignore
  7. CONTRIBUTING.md
  8. LICENSE
  9. overview.html
  10. pom.xml
  11. README.md
README.md

Main Site Build Status Maven Release Stackoverflow

What is Truth?

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.