Index: pkg/analyzer/test/src/task/strong/checker_test.dart |
diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart |
index 99c6b46352d2474cc5c974ad632b455ff9f74414..4cfbe63c41e50f92b7a820225488ef87b7ad587a 100644 |
--- a/pkg/analyzer/test/src/task/strong/checker_test.dart |
+++ b/pkg/analyzer/test/src/task/strong/checker_test.dart |
@@ -2205,18 +2205,6 @@ main() { |
await check(implicitCasts: false); |
} |
- test_implicitCasts_return() async { |
- addFile(r''' |
-import 'dart:async'; |
- |
-Future<List<String>> foo() async { |
- List<Object> x = <Object>["hello", "world"]; |
- return /*info:DOWN_CAST_IMPLICIT*/x; |
-} |
- '''); |
- await check(); |
- } |
- |
test_implicitCasts_genericMethods() async { |
addFile(''' |
var x = <String>[].map<String>((x) => ""); |
@@ -2236,6 +2224,18 @@ void f() { |
await check(implicitCasts: false); |
} |
+ test_implicitCasts_return() async { |
+ addFile(r''' |
+import 'dart:async'; |
+ |
+Future<List<String>> foo() async { |
+ List<Object> x = <Object>["hello", "world"]; |
+ return /*info:DOWN_CAST_IMPLICIT*/x; |
+} |
+ '''); |
+ await check(); |
+ } |
+ |
test_implicitDynamic_field() async { |
addFile(r''' |
class C { |