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

Unified Diff: pkg/analysis_server/test/context_manager_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/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index 4519762d8867cfcf3a91c03cb9d2e137cc5e00cd..84ecd4cef33b965c306efefb561f65e0615086d3 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -445,7 +445,7 @@ test_pack:lib/''');
newFile([examplePath, ContextManagerImpl.PACKAGE_SPEC_NAME]);
newFile([examplePath, 'example.dart']);
- packageMapProvider.packageMap['proj'] = [
+ packageMapProvider.packageMap['proj'] = <Folder>[
resourceProvider.getResource(libPath)
];
@@ -474,7 +474,7 @@ test_pack:lib/''');
newFile([examplePath, ContextManagerImpl.PUBSPEC_NAME]);
newFile([examplePath, 'example.dart']);
- packageMapProvider.packageMap['proj'] = [
+ packageMapProvider.packageMap['proj'] = <Folder>[
resourceProvider.getResource(libPath)
];
@@ -573,7 +573,7 @@ test_pack:lib/''');
newFile([srcPath, 'internal.dart']);
String testFilePath = newFile([testPath, 'main_test.dart']);
- packageMapProvider.packageMap['proj'] = [
+ packageMapProvider.packageMap['proj'] = <Folder>[
resourceProvider.getResource(libPath)
];

Powered by Google App Engine
This is Rietveld 408576698