Index: pkg/analyzer/test/dart/element/builder_test.dart |
diff --git a/pkg/analyzer/test/dart/element/builder_test.dart b/pkg/analyzer/test/dart/element/builder_test.dart |
index c9b22c9a0351748d6b638acc3a5bfffd8a45337e..93faaafea656147ea4c953c1c1803e1764ee79c5 100644 |
--- a/pkg/analyzer/test/dart/element/builder_test.dart |
+++ b/pkg/analyzer/test/dart/element/builder_test.dart |
@@ -5,6 +5,7 @@ |
library analyzer.test.dart.element.builder_test; |
import 'package:analyzer/dart/ast/ast.dart'; |
+import 'package:analyzer/dart/ast/standard_ast_factory.dart'; |
import 'package:analyzer/dart/ast/token.dart'; |
import 'package:analyzer/dart/element/element.dart'; |
import 'package:analyzer/src/dart/ast/ast.dart'; |
@@ -251,7 +252,7 @@ class C { |
TopLevelVariableDeclaration topLevelVariableDeclaration = AstTestFactory |
.topLevelVariableDeclaration(null, AstTestFactory.typeName4('int'), |
[AstTestFactory.variableDeclaration('V')]); |
- CompilationUnit unit = new CompilationUnit( |
+ CompilationUnit unit = astFactory.compilationUnit( |
topLevelVariableDeclaration.beginToken, |
null, |
[], |