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

Unified Diff: pkg/analysis_server/test/completion_test.dart

Issue 1113063005: improve import suggestion (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 8 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/completion_test.dart
diff --git a/pkg/analysis_server/test/completion_test.dart b/pkg/analysis_server/test/completion_test.dart
index ab2a1e93d3fa9cec0aee4670f4dbf7fa87305d6a..1101d88cacb5435f941ec7f5f047cc4a26c00d6f 100644
--- a/pkg/analysis_server/test/completion_test.dart
+++ b/pkg/analysis_server/test/completion_test.dart
@@ -1982,19 +1982,18 @@ class Q {
// keywords
buildTests('test017', '''
-!1library foo;
-!2import 'x' !5as r;
+!1!2import 'x' !5as r;
!3export '!8uri' !6hide Q !7show X;
!4part 'x';''', <String>[
"1+library",
- "2+import",
+ "2+import '!';",
"3+export",
"4+part",
"5+as",
"6+hide",
"7+show",
"8-null"
- ], failingTests: '1567');
+ ], failingTests: '567');
// keywords
buildTests('test018', '''!1part !2of foo;''', <String>["1+part", "2+of"],

Powered by Google App Engine
This is Rietveld 408576698