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 e0a6867b8ce54b2a600aed2d6fb4d695f4e33fd5..277279a9cb8c63b44f2f4e729b3d734331c287b1 100644 |
--- a/pkg/analysis_server/test/domain_diagnostic_test.dart |
+++ b/pkg/analysis_server/test/domain_diagnostic_test.dart |
@@ -53,7 +53,7 @@ main() { |
null, |
serverPlugin, |
new AnalysisServerOptions(), |
- new MockSdk(), |
+ () => new MockSdk(), |
InstrumentationService.NULL_SERVICE); |
handler = new DiagnosticDomainHandler(server); |
}); |