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

Unified Diff: pkg/analyzer/test/source/sdk_ext_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/analyzer/test/source/sdk_ext_test.dart
diff --git a/pkg/analyzer/test/source/sdk_ext_test.dart b/pkg/analyzer/test/source/sdk_ext_test.dart
index c44ca5d6ec34bd9fc4720f3192586a3e9e1fddc3..7c6b19f83e0e9ec629c3a8a189b41ea783626eab 100644
--- a/pkg/analyzer/test/source/sdk_ext_test.dart
+++ b/pkg/analyzer/test/source/sdk_ext_test.dart
@@ -4,6 +4,7 @@
library analyzer.test.source.sdk_ext_test;
+import 'package:analyzer/file_system/file_system.dart';
import 'package:analyzer/file_system/memory_file_system.dart';
import 'package:analyzer/source/sdk_ext.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
@@ -44,7 +45,7 @@ class SdkExtUriResolverTest {
test_create_noSdkExtPackageMap() {
var resolver = new SdkExtUriResolver({
- 'fox': [resourceProvider.getResource('/empty')]
+ 'fox': <Folder>[resourceProvider.getResource('/empty')]
});
expect(resolver.length, equals(0));
}
@@ -56,7 +57,7 @@ class SdkExtUriResolverTest {
test_create_sdkExtPackageMap() {
var resolver = new SdkExtUriResolver({
- 'fox': [resourceProvider.getResource('/tmp')]
+ 'fox': <Folder>[resourceProvider.getResource('/tmp')]
});
// We have four mappings.
expect(resolver.length, equals(4));
@@ -69,7 +70,7 @@ class SdkExtUriResolverTest {
test_restoreAbsolute() {
var resolver = new SdkExtUriResolver({
- 'fox': [resourceProvider.getResource('/tmp')]
+ 'fox': <Folder>[resourceProvider.getResource('/tmp')]
});
var source = resolver.resolveAbsolute(Uri.parse('dart:fox'));
expect(source, isNotNull);

Powered by Google App Engine
This is Rietveld 408576698