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

Unified Diff: pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart

Issue 1526303003: convert ImportedReferenceContributor to new API (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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/completion/dart/local_library_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
index 71eda5c3d96c9d8396c47bc8375e0850446f3175..fc707f9be92bcd8465fc192badef1612297bbaf2 100644
--- a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
@@ -60,7 +60,8 @@ class LocalLibraryContributorTest extends DartCompletionContributorTest {
assertNotSuggested('T1');
assertNotSuggested('_d');
assertNotSuggested('z');
- assertNotSuggested('m');
+ assertSuggestTopLevelVar('m', 'dynamic',
+ relevance: DART_RELEVANCE_LOCAL_TOP_LEVEL_VARIABLE);
}
test_partFile_TypeName() async {

Powered by Google App Engine
This is Rietveld 408576698