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); |