Index: pkg/analyzer/test/src/summary/summary_test.dart |
diff --git a/pkg/analyzer/test/src/summary/summary_test.dart b/pkg/analyzer/test/src/summary/summary_test.dart |
index 416978a5b1f774c4be35ac044ff82b616d2e25a4..fc3e67deb966a8f7fd3f6c91531d70674befb2d9 100644 |
--- a/pkg/analyzer/test/src/summary/summary_test.dart |
+++ b/pkg/analyzer/test/src/summary/summary_test.dart |
@@ -4,8 +4,8 @@ |
library analyzer.test.src.summary.summary_test; |
+import 'package:analyzer/dart/ast/ast.dart'; |
import 'package:analyzer/dart/element/element.dart'; |
-import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/generated/error.dart'; |
import 'package:analyzer/src/generated/java_engine_io.dart'; |
@@ -112,9 +112,10 @@ class PrelinkerTest extends SummarizeElementsTest { |
summarize_elements.serializeLibrary( |
library, analysisContext.typeProvider); |
for (int i = 0; i < serializedLibrary.unlinkedUnits.length; i++) { |
- uriToNamespace[ |
- serializedLibrary.unitUris[i]] = new UnlinkedUnit.fromBuffer( |
- serializedLibrary.unlinkedUnits[i].toBuffer()).publicNamespace; |
+ uriToNamespace[serializedLibrary.unitUris[i]] = |
+ new UnlinkedUnit.fromBuffer( |
+ serializedLibrary.unlinkedUnits[i].toBuffer()) |
+ .publicNamespace; |
} |
} |
return uriToNamespace; |
@@ -819,7 +820,8 @@ b.C c4;'''); |
UnlinkedTypeRef serializeTypeText(String text, |
{String otherDeclarations: '', bool allowErrors: false}) { |
return serializeVariableText('$otherDeclarations\n$text v;', |
- allowErrors: allowErrors).type; |
+ allowErrors: allowErrors) |
+ .type; |
} |
/** |
@@ -1903,7 +1905,8 @@ enum E { v }'''; |
test_executable_operator_index_set() { |
UnlinkedExecutable executable = serializeClassText( |
- 'class C { void operator[]=(int i, bool v) => null; }').executables[0]; |
+ 'class C { void operator[]=(int i, bool v) => null; }') |
+ .executables[0]; |
expect(executable.kind, UnlinkedExecutableKind.functionOrMethod); |
expect(executable.name, '[]='); |
expect(executable.hasImplicitReturnType, false); |