Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Unified Diff: pkg/analyzer/test/src/task/options_work_manager_test.dart

Issue 1507813004: Remove unnecessary 'noSuchMethod' declarations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698