| Index: pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| index 7cc7099252a450d5c35f5eefdaf497547cc1eabf..46de68d6383ff0d164bac30744a24cbebb28eaeb 100644
|
| --- a/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| @@ -87,10 +87,8 @@ linter:
|
| handleSuccessfulRequest(request);
|
|
|
| return waitForTasksFinished().then((_) {
|
| - // Confirm lint is registered.
|
| - expect(lintRegistry, isNotEmpty);
|
| AnalysisContext testContext = server.getContainingContext(testFile);
|
| - List<Linter> lints = lintRegistry[testContext];
|
| + List<Linter> lints = getLints(testContext);
|
| // Registry should only contain single lint rule.
|
| expect(lints, hasLength(1));
|
| LintRule lint = lints.first as LintRule;
|
|
|