google / truth

Fluent assertions for Java and Android
https://truth.dev/
Apache License 2.0
2.73k stars 260 forks source link

Deprecate `Subject.Factory` methods for Java 8 types. #1278

Closed copybara-service[bot] closed 6 months ago

copybara-service[bot] commented 6 months ago

Deprecate Subject.Factory methods for Java 8 types.

They are no longer necessary.

RELNOTES=Deprecated Subject.Factory methods for Java 8 types. We won't remove them, but you can simplify your code by migrating off them: Just replace assertAbout(foos()).that(foo) with assertThat(foo).