00e4d8f33d
This adds support so that tests of lint-based quick fix tests can use the output of the linter rather than cons-ing up a fake lint to drive the test. It also converts many of the existing tests to use real lints. There were/are an amazing number of tests that were invalid and needed to be fixed. This includes fixes for some of them, but there are still several tests that have not been converted because they fail when run using the output of the linter. Some of these are invalid tests, but some might indicate bugs in the quick fix generation that should be fixed. Change-Id: Iea806849ea111dc8454073e8fe44fd42c5208652 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134141 Reviewed-by: Phil Quitslund <pquitslund@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>