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

Unified Diff: pkg/analysis_server/test/services/refactoring/move_file_test.dart

Issue 2344933002: Fix recently introduced strong-mode errors (Closed)
Patch Set: Created 4 years, 3 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
Index: pkg/analysis_server/test/services/refactoring/move_file_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/move_file_test.dart b/pkg/analysis_server/test/services/refactoring/move_file_test.dart
index 9146b93597e065d1930b36258c524ea4dbc5a4ce..df2e4221c2c016452c26a6acd76b182a47852f1e 100644
--- a/pkg/analysis_server/test/services/refactoring/move_file_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/move_file_test.dart
@@ -111,7 +111,7 @@ import '22/new_name.dart';
testFile = '/packages/my_pkg/lib/aaa/test.dart';
provider.newFile(testFile, '');
Map<String, List<Folder>> packageMap = {
- 'my_pkg': [provider.getResource('/packages/my_pkg/lib')]
+ 'my_pkg': <Folder>[provider.getResource('/packages/my_pkg/lib')]
};
context.sourceFactory = new SourceFactory([
AbstractContextTest.SDK_RESOLVER,
@@ -243,7 +243,7 @@ export 'package:testName/myLib.dart';
context.sourceFactory = new SourceFactory([
AbstractContextTest.SDK_RESOLVER,
new PackageMapUriResolver(provider, <String, List<Folder>>{
- 'testName': [provider.getResource('/testName/lib')]
+ 'testName': <Folder>[provider.getResource('/testName/lib')]
}),
resourceResolver,
]);

Powered by Google App Engine
This is Rietveld 408576698