Index: pkg/analysis_server/test/analysis/update_content_test.dart |
diff --git a/pkg/analysis_server/test/analysis/update_content_test.dart b/pkg/analysis_server/test/analysis/update_content_test.dart |
index 178b913451d9071d9d142eb6f731086d61e6d939..3e096320dea437e4f782285ffe51403af26896fe 100644 |
--- a/pkg/analysis_server/test/analysis/update_content_test.dart |
+++ b/pkg/analysis_server/test/analysis/update_content_test.dart |
@@ -132,8 +132,9 @@ main() { f(); }'''); |
library baz; |
f(int i) {} |
'''); |
- Request request = new AnalysisSetAnalysisRootsParams( |
- ['/project1', '/project2'], []).toRequest('0'); |
+ Request request = |
+ new AnalysisSetAnalysisRootsParams(['/project1', '/project2'], []) |
+ .toRequest('0'); |
handleSuccessfulRequest(request); |
{ |
await server.onAnalysisComplete; |
@@ -162,8 +163,9 @@ f() {} |
String filePath = '/User/project1/test.dart'; |
Folder folder1 = resourceProvider.newFolder('/User/project1'); |
Folder folder2 = resourceProvider.newFolder('/User/project2'); |
- Request request = new AnalysisSetAnalysisRootsParams( |
- [folder1.path, folder2.path], []).toRequest('0'); |
+ Request request = |
+ new AnalysisSetAnalysisRootsParams([folder1.path, folder2.path], []) |
+ .toRequest('0'); |
handleSuccessfulRequest(request); |
// exactly 2 contexts |
expect(server.folderMap, hasLength(2)); |
@@ -270,6 +272,4 @@ class _ArgumentMatcher_CompilationUnit extends ArgumentMatcher { |
} |
} |
-class _MockIndex extends TypedMock implements Index { |
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
-} |
+class _MockIndex extends TypedMock implements Index {} |