Index: pkg/analysis_server/test/services/search/search_engine_test.dart |
diff --git a/pkg/analysis_server/test/services/search/search_engine_test.dart b/pkg/analysis_server/test/services/search/search_engine_test.dart |
index ed716100f7b9cc7cd07628837647ef867950b31a..7eaf70b57838b1b77cbc893274ea4268bf9e8ab8 100644 |
--- a/pkg/analysis_server/test/services/search/search_engine_test.dart |
+++ b/pkg/analysis_server/test/services/search/search_engine_test.dart |
@@ -352,8 +352,8 @@ part 'unitB.dart'; |
LibraryElement element = testLibraryElement; |
CompilationUnitElement elementA = element.parts[0]; |
CompilationUnitElement elementB = element.parts[1]; |
- index.indexUnit(context, elementA.node); |
- index.indexUnit(context, elementB.node); |
+ index.indexUnit(context, elementA.computeNode()); |
+ index.indexUnit(context, elementB.computeNode()); |
var expected = [ |
new ExpectedMatch(elementA, MatchKind.REFERENCE, |
codeA.indexOf('lib; // A'), 'lib'.length), |