Index: pkg/analyzer/test/src/task/options_work_manager_test.dart |
diff --git a/pkg/analyzer/test/src/task/options_work_manager_test.dart b/pkg/analyzer/test/src/task/options_work_manager_test.dart |
index f54283dbe6739bb93f44b675d4aefbdcac094a3b..b3b9e5e079f252af823f2f45088eff4a9d173152 100644 |
--- a/pkg/analyzer/test/src/task/options_work_manager_test.dart |
+++ b/pkg/analyzer/test/src/task/options_work_manager_test.dart |
@@ -136,8 +136,8 @@ class OptionsWorkManagerTest { |
source1, 1, 0, AnalysisOptionsErrorCode.PARSE_ERROR, ['']); |
AnalysisError error2 = new AnalysisError( |
source1, 2, 0, AnalysisOptionsErrorCode.PARSE_ERROR, ['']); |
- entry1.setValue( |
- ANALYSIS_OPTIONS_ERRORS, <AnalysisError>[error1, error2], []); |
+ entry1 |
+ .setValue(ANALYSIS_OPTIONS_ERRORS, <AnalysisError>[error1, error2], []); |
List<AnalysisError> errors = manager.getErrors(source1); |
expect(errors, unorderedEquals([error1, error2])); |
@@ -233,8 +233,8 @@ class OptionsWorkManagerTest { |
source1, 2, 0, AnalysisOptionsErrorCode.PARSE_ERROR, ['']); |
LineInfo lineInfo = new LineInfo([0]); |
entry1.setValue(LINE_INFO, lineInfo, []); |
- entry1.setValue( |
- ANALYSIS_OPTIONS_ERRORS, <AnalysisError>[error1, error2], []); |
+ entry1 |
+ .setValue(ANALYSIS_OPTIONS_ERRORS, <AnalysisError>[error1, error2], []); |
// RESOLVED_UNIT is ready, set errors |
manager.resultsComputed(source1, {ANALYSIS_OPTIONS_ERRORS: null}); |
// all of the errors are included |
@@ -282,6 +282,4 @@ class _InternalAnalysisContextMock extends TypedMock |
@override |
ChangeNoticeImpl getNotice(Source source) => |
_pendingNotices.putIfAbsent(source, () => new ChangeNoticeImpl(source)); |
- |
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |