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

Unified Diff: pkg/analyzer/test/src/task/strong/checker_test.dart

Issue 2933753002: Run the sorter to reduce code churn (Closed)
Patch Set: Created 3 years, 6 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 | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « pkg/analyzer/test/src/task/html_work_manager_test.dart ('k') | pkg/analyzer/tool/summary/mini_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698