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

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

Issue 2628973003: Add preliminary parser support for generic function types (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/error/error.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 93483ce8c03848839804e0c6d90cb0e2e9c197d6..46a33fc837f12227d2d567080e4d3396cc7ab5ea 100644
--- a/pkg/analysis_server/test/completion_test.dart
+++ b/pkg/analysis_server/test/completion_test.dart
@@ -867,13 +867,6 @@ main() { null.!1 }''',
failingTests: '1');
buildTests(
- 'testCommentSnippets084',
- '''
-class List{}class Map{}typedef X = !1Lis!2t with !3Ma!4p;''',
- <String>["1+Map", "2+List", "2-Map", "3+List", "4+Map", "4-List"],
- failingTests: '1234');
-
- buildTests(
'testCommentSnippets085',
'''
class List{}class Map{}class Z extends List with !1Ma!2p {}''',
@@ -2436,10 +2429,8 @@ void r2(var vim, [va: 2, b: 3]) {
'''
!1class Aclass {}
class Bclass !2extends!3 !4Aclass {}
-!5typedef Ctype = !6Bclass with !7Aclass;
-class Dclass extends !8Ctype {}
-!9abstract class Eclass implements Dclass,!C Ctype, Bclass {}
-class Fclass extends Bclass !Awith !B Eclass {}''',
+!5abstract class Eclass implements Aclass, Bclass {}
+class Fclass extends Bclass !6with !7 Eclass {}''',
<String>[
"1+class",
"1-implements",
@@ -2449,21 +2440,13 @@ class Fclass extends Bclass !Awith !B Eclass {}''',
"3+extends",
"4+Aclass",
"4-Bclass",
- "5+typedef",
- "6+Bclass",
- "6-Ctype",
- "7+Aclass",
- "7-Bclass",
- "8+Ctype",
- "9+abstract",
- "A+with",
- "B+Eclass",
- "B-Dclass",
- "B-Ctype",
- "C+Bclass",
- "C-Eclass"
+ "5+abstract",
+ "6+with",
+ "7+Eclass",
+ "7-Dclass",
+ "7-Ctype",
],
- failingTests: '23467ABC');
+ failingTests: '23467');
// keywords
buildTests(
« no previous file with comments | « no previous file | pkg/analyzer/lib/error/error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698