Index: pkg/analysis_server/test/socket_server_test.dart |
diff --git a/pkg/analysis_server/test/socket_server_test.dart b/pkg/analysis_server/test/socket_server_test.dart |
index 1175320c03e812fd23086e5bb7c45744ca94f0ca..395072a67e4f799a4f9014c5319f77705841a8bd 100644 |
--- a/pkg/analysis_server/test/socket_server_test.dart |
+++ b/pkg/analysis_server/test/socket_server_test.dart |
@@ -112,12 +112,12 @@ class SocketServerTest { |
ServerPlugin serverPlugin = new ServerPlugin(); |
ExtensionManager manager = new ExtensionManager(); |
manager.processPlugins([serverPlugin]); |
- SdkCreator sdkCreator = () => |
+ SdkCreator sdkCreator = (_) => |
new DirectoryBasedDartSdk(DirectoryBasedDartSdk.defaultSdkDirectory); |
return new SocketServer( |
new AnalysisServerOptions(), |
sdkCreator, |
- sdkCreator(), |
+ sdkCreator(null), |
InstrumentationService.NULL_SERVICE, |
serverPlugin, |
null, |