Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: pkg/analysis_server/test/services/search/search_engine_test.dart

Issue 1164823003: Replace 'Element.node' with 'Element.computeNode()'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/services/refactoring/inline_method.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « pkg/analysis_server/lib/src/services/refactoring/inline_method.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698