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

Unified Diff: pkg/analysis_server/test/services/index2/index2_test.dart

Issue 1770953002: Implement searchMemberDeclarations() / searchTopLevelDeclarations(). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: pkg/analysis_server/test/services/index2/index2_test.dart
diff --git a/pkg/analysis_server/test/services/index2/index2_test.dart b/pkg/analysis_server/test/services/index2/index2_test.dart
index d82bdb3257229e6c3f126ff34e061066bd64f626..d64faebc0834622fc06e2f9395f2ab29b3d9eae9 100644
--- a/pkg/analysis_server/test/services/index2/index2_test.dart
+++ b/pkg/analysis_server/test/services/index2/index2_test.dart
@@ -159,7 +159,7 @@ main(int a, int b) {
if (location.libraryUri == libraryUri &&
location.unitUri == unitUri &&
location.offset == element.nameOffset &&
- location.length == 0) {
+ location.length == element.nameLength) {
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698