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

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

Issue 1303233008: improve keyword suggestions - fixes #24016 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 4 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 a469f1a113a6b1408582d7050d2008e0727b45ce..0cebf2f58562cbef48bcf6d445cd6252a060c286 100644
--- a/pkg/analysis_server/test/completion_test.dart
+++ b/pkg/analysis_server/test/completion_test.dart
@@ -1601,8 +1601,7 @@ main(p) {
"3-v1",
"4+is",
"4-isVariable"
- ],
- failingTests: '4');
+ ]);
buildTests(
'testCompletion_is_asIdentifierStart',
@@ -1645,8 +1644,7 @@ main(p) {
var isVariable;
var v = p is!1
}''',
- <String>["1+is", "1-isVariable"],
- failingTests: '1');
+ <String>["1+is", "1-isVariable"]);
buildTests(
'testCompletion_keyword_in',
@@ -2637,7 +2635,7 @@ class Q {
"K+else",
"L+return"
],
- failingTests: '3BCHK');
+ failingTests: '3BCK');
// operators in function
buildTests('test015', '''f(a,b,c) => a + b * c !1;''', <String>["1+=="],

Powered by Google App Engine
This is Rietveld 408576698