Index: pkg/analysis_server/test/edit/sort_members_test.dart |
diff --git a/pkg/analysis_server/test/edit/sort_members_test.dart b/pkg/analysis_server/test/edit/sort_members_test.dart |
index f3abfade93095d203f770c1960a4b5b229082110..ff05f8f99ace826fa3738e14fe6efbbac28c8a30 100644 |
--- a/pkg/analysis_server/test/edit/sort_members_test.dart |
+++ b/pkg/analysis_server/test/edit/sort_members_test.dart |
@@ -180,8 +180,7 @@ class MyAnnotation { |
'''); |
} |
- @failingTest |
- test_OK_genericFunctionTypeInComments() async { |
+ test_OK_genericFunctionType() async { |
addFile( |
projectPath + '/analysis_options.yaml', |
''' |
@@ -204,14 +203,14 @@ class Super {} |
typedef dynamic Func(String x, String y); |
-Function/*=F*/ allowInterop/*<F extends Function>*/(Function/*=F*/ f) => null; |
+F allowInterop<F extends Function>(F f) => null; |
Func bar(Func f) { |
return allowInterop(f); |
} |
'''); |
return _assertSorted(''' |
-Function/*=F*/ allowInterop/*<F extends Function>*/(Function/*=F*/ f) => null; |
+F allowInterop<F extends Function>(F f) => null; |
Func bar(Func f) { |
return allowInterop(f); |