Index: pkg/analyzer/test/src/dart/constant/utilities_test.dart |
diff --git a/pkg/analyzer/test/src/dart/constant/utilities_test.dart b/pkg/analyzer/test/src/dart/constant/utilities_test.dart |
index bf382f121899f12b5dedf193ac84e0570e97fc11..9920600735b93f6a5e6b2947db2247a0cef37fb0 100644 |
--- a/pkg/analyzer/test/src/dart/constant/utilities_test.dart |
+++ b/pkg/analyzer/test/src/dart/constant/utilities_test.dart |
@@ -5,7 +5,6 @@ |
library analyzer.test.src.dart.constant.utilities_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/token.dart'; |
@@ -66,7 +65,7 @@ class ConstantFinderTest { |
// Analyzer ignores annotations on enum constant declarations. |
Annotation annotation = AstTestFactory.annotation2( |
AstTestFactory.identifier3('A'), null, AstTestFactory.argumentList()); |
- _node = astFactory.enumConstantDeclaration( |
+ _node = new EnumConstantDeclaration( |
null, <Annotation>[annotation], AstTestFactory.identifier3('C')); |
expect(_findConstants(), isEmpty); |
} |