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 db85fcd6c5fe7cbaa2e8879a55f3c264f8bd96ed..1ed312fa6eae9a4695aa963af1993d6bc9400179 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -8,6 +8,7 @@ import 'dart:collection'; |
import 'package:analysis_server/src/context_manager.dart'; |
import 'package:analyzer/file_system/file_system.dart'; |
+import 'package:analyzer/file_system/physical_file_system.dart'; |
import 'package:analyzer/file_system/memory_file_system.dart'; |
import 'package:analyzer/instrumentation/instrumentation.dart'; |
import 'package:analyzer/source/embedder.dart'; |
@@ -2667,7 +2668,7 @@ class TestContextManagerCallbacks extends ContextManagerCallbacks { |
} |
} |
resolvers.addAll(disposition.createPackageUriResolvers(resourceProvider)); |
- resolvers.add(new FileUriResolver()); |
+ resolvers.add(new ResourceUriResolver(PhysicalResourceProvider.INSTANCE)); |
currentContext.analysisOptions = options; |
currentContext.sourceFactory = |
new SourceFactory(resolvers, disposition.packages); |