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

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

Issue 620293002: refactor library prefix suggestion generation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 2 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/completion/imported_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/imported_computer_test.dart b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
index 56d574875b2ce80fd78eb864af427ff5c40fa111..b6ff16dcc4f7b5a4c3194524cece0a357d8d7f33 100644
--- a/pkg/analysis_server/test/services/completion/imported_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/imported_computer_test.dart
@@ -53,10 +53,7 @@ class ImportedTypeComputerTest extends AbstractCompletionTest {
assertNotSuggested('D');
assertSuggestClass('EE');
assertNotSuggested('F');
- // Don't suggest library prefix as it is suggested by local computer
- // TODO (danrubel) modify so that imported_computer handles
- // all aspects of import statement
- assertNotSuggested('g');
+ assertSuggestLibraryPrefix('g');
assertNotSuggested('G');
assertSuggestClass('H', CompletionRelevance.LOW);
// Should not suggest compilation unit elements

Powered by Google App Engine
This is Rietveld 408576698