Index: pkg/analysis_server/test/abstract_single_unit.dart |
diff --git a/pkg/analysis_server/test/abstract_single_unit.dart b/pkg/analysis_server/test/abstract_single_unit.dart |
index 6d0e7a0acebc61116bc518a4d736d2295642e5d9..757c819494d89e22c62595358aad27627075e5bb 100644 |
--- a/pkg/analysis_server/test/abstract_single_unit.dart |
+++ b/pkg/analysis_server/test/abstract_single_unit.dart |
@@ -49,7 +49,7 @@ class AbstractSingleUnitTest extends AbstractContextTest { |
} |
AstNode findNodeAtOffset(int offset, [Predicate<AstNode> predicate]) { |
- AstNode result = new NodeLocator.con1(offset).searchWithin(testUnit); |
+ AstNode result = new NodeLocator(offset).searchWithin(testUnit); |
if (result != null && predicate != null) { |
result = result.getAncestor(predicate); |
} |