Index: pkg/analyzer/test/generated/element_resolver_test.dart |
diff --git a/pkg/analyzer/test/generated/element_resolver_test.dart b/pkg/analyzer/test/generated/element_resolver_test.dart |
index 982423672a080d4037e9bf5da7a16062b411bdd6..42f457d6879dd4cc7f582d315ea2e013dffeb84e 100644 |
--- a/pkg/analyzer/test/generated/element_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/element_resolver_test.dart |
@@ -5,6 +5,7 @@ |
library analyzer.test.generated.element_resolver_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/dart/element/type.dart'; |
@@ -546,7 +547,8 @@ class ElementResolverTest extends EngineTestCase { |
..defineNameWithoutChecking('A', classA); |
// prepare "A.p" |
PrefixedIdentifier prefixed = AstTestFactory.identifier5('A', 'p'); |
- CommentReference commentReference = new CommentReference(null, prefixed); |
+ CommentReference commentReference = |
+ astFactory.commentReference(null, prefixed); |
// resolve |
_resolveNode(commentReference); |
expect(prefixed.prefix.staticElement, classA); |
@@ -565,7 +567,8 @@ class ElementResolverTest extends EngineTestCase { |
..defineNameWithoutChecking('A', classA); |
// prepare "A.m" |
PrefixedIdentifier prefixed = AstTestFactory.identifier5('A', 'm'); |
- CommentReference commentReference = new CommentReference(null, prefixed); |
+ CommentReference commentReference = |
+ astFactory.commentReference(null, prefixed); |
// resolve |
_resolveNode(commentReference); |
expect(prefixed.prefix.staticElement, classA); |
@@ -584,7 +587,8 @@ class ElementResolverTest extends EngineTestCase { |
..defineNameWithoutChecking('A', classA); |
// prepare "A.==" |
PrefixedIdentifier prefixed = AstTestFactory.identifier5('A', '=='); |
- CommentReference commentReference = new CommentReference(null, prefixed); |
+ CommentReference commentReference = |
+ astFactory.commentReference(null, prefixed); |
// resolve |
_resolveNode(commentReference); |
expect(prefixed.prefix.staticElement, classA); |