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

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

Issue 802163002: include local functions in completion suggestions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 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/completion_test.dart
diff --git a/pkg/analysis_server/test/completion_test.dart b/pkg/analysis_server/test/completion_test.dart
index 9b5b4b897e969b34e9ddcdf143af9a274edb047c..2d75733ba2f1da46e77120b2d72990e8d5724fe5 100644
--- a/pkg/analysis_server/test/completion_test.dart
+++ b/pkg/analysis_server/test/completion_test.dart
@@ -659,8 +659,7 @@ class List{}class Map{}class Z extends List with !1Ma!2p {}''',
CompletionTestCase.buildTests('testCommentSnippets086', '''
class Q{f(){xy() {!2};x!1y();}}''',
- <String>["1+xy", "2+f", "2-xy"],
- failingTests: '1');
+ <String>["1+xy", "2+f", "2-xy"]);
CompletionTestCase.buildTests('testCommentSnippets087', '''
class Map{}class Q extends Object with !1Map {}''',
@@ -730,8 +729,7 @@ class Q {
"5+Q",
"5-xya",
"5-xyb",
- "5-xza"],
- failingTests: '34');
+ "5-xza"]);
CompletionTestCase.buildTests('testCommentSnippets090', '''
class X { f() { var a = 'x'; a.!1 }}''',

Powered by Google App Engine
This is Rietveld 408576698