You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Truth 0.25, all my tests about collections and sets produce deprecation warnings because Truth.assertThat(Collection<T>) is now annotated with @Deprecated.
I now have to either use @SuppressWarnings or add an ugly explicit upcast to Iterable for each of these tests. Please consider removing either the annotation or the whole method.
The text was updated successfully, but these errors were encountered:
Ahh, good point...hmm, we do intend to remove the assertThat(Collection) overload very soon.
But I guess there's no harm in leaving the assertThat(Collection) method undeprecated, given that all the methods you can chain after that on CollectionSubject are deprecated as well.
OK, I've undeprecated these internally...not sure if we plan to roll an entire new release just to get these out there, but it'll be mirroed out to github soon-ish.
After upgrading to Truth 0.25, all my tests about collections and sets produce deprecation warnings because
Truth.assertThat(Collection<T>)
is now annotated with@Deprecated
.I now have to either use
@SuppressWarnings
or add an ugly explicit upcast toIterable
for each of these tests. Please consider removing either the annotation or the whole method.The text was updated successfully, but these errors were encountered: