-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
Description
I'm proposing we have something like unnecessary_non_null_assertion (or even use this diagnostic) for the cases where the isNotNull/isNull matcher is being used, but makes no sense. Probably a leftover from some old API that is not null anymore.
Of course, the isNull tests would fail, but this would help users migrating the tests to the new api.
Metadata
Metadata
Assignees
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.