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

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

Issue 783383003: code completion for dynamic type elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 ee966c80471cc3fe57054b5b8d8d53eb17258c20..c969dcee2589dffc28c50a43aa1b40097d4867e9 100644
--- a/pkg/analysis_server/test/completion_test.dart
+++ b/pkg/analysis_server/test/completion_test.dart
@@ -101,8 +101,7 @@ class Map{}class Arrays{}class C{ m(!1){} n(!2 x, q)''',
CompletionTestCase.buildTests('testCommentSnippets019', '''
class A{m(){Object x;x.!1/**/clear()''',
- <String>["1+toString"],
- failingTests: '1');
+ <String>["1+toString"]);
CompletionTestCase.buildTests('testCommentSnippets020', '''
classMap{}class tst {var newt;void newf(){}test() {var newz;new!1/**/;}}''',
@@ -1864,7 +1863,7 @@ void r1(var v) {
"3+toString",
"4+hashCode",
"4-toString"],
- failingTests: '1234');
+ failingTests: '34');
CompletionTestCase.buildTests('test002', '''
void r2(var vim) {
@@ -2026,7 +2025,7 @@ class X {
"3+false",
"3+true",
"4+toString"],
- failingTests: '1234');
+ failingTests: '123');
// conditions & operators
CompletionTestCase.buildTests('test013', '''
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/suggestion_builder.dart ('k') | pkg/analysis_server/test/mock_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698