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
My code always returns an empty map, implemented using Map.of(). When running pitest, this is mutated to return Collections.emptyMap() instead. As I don't have any test that would be able to see the difference, this mutation survived.
Please treat Map.of() the same as Collections.emptySet(), i.e. do not try to mutate one into the other.
Version 1.9.9.
The text was updated successfully, but these errors were encountered:
My code always returns an empty map, implemented using
Map.of()
. When running pitest, this is mutated to returnCollections.emptyMap()
instead. As I don't have any test that would be able to see the difference, this mutation survived.Please treat
Map.of()
the same asCollections.emptySet()
, i.e. do not try to mutate one into the other.Version 1.9.9.
The text was updated successfully, but these errors were encountered: