Index: pkg/analysis_server/test/domain_diagnostic_test.dart |
diff --git a/pkg/analysis_server/test/domain_diagnostic_test.dart b/pkg/analysis_server/test/domain_diagnostic_test.dart |
index 3a6f3cb3ceac8ae070249457f994967fc99107f8..1c4ba4a0e4effba7747fc593e9d84284b3d35a35 100644 |
--- a/pkg/analysis_server/test/domain_diagnostic_test.dart |
+++ b/pkg/analysis_server/test/domain_diagnostic_test.dart |
@@ -47,6 +47,7 @@ main() { |
// |
var serverChannel = new MockServerChannel(); |
resourceProvider = new MemoryResourceProvider(); |
+ MockSdk sdk = new MockSdk(resourceProvider: resourceProvider); |
server = new AnalysisServer( |
serverChannel, |
resourceProvider, |
@@ -54,7 +55,7 @@ main() { |
null, |
serverPlugin, |
new AnalysisServerOptions(), |
- new DartSdkManager('', false, (_) => new MockSdk()), |
+ new DartSdkManager('/', false, (_) => sdk), |
InstrumentationService.NULL_SERVICE); |
handler = new DiagnosticDomainHandler(server); |
}); |