Index: pkg/analysis_server/test/edit/format_test.dart |
diff --git a/pkg/analysis_server/test/edit/format_test.dart b/pkg/analysis_server/test/edit/format_test.dart |
index c116db8fcc9c367f1958c03a4c7d78683bb88754..8d9d0119aa21d9204ed5fbcd2d2eb580c46cfa40 100644 |
--- a/pkg/analysis_server/test/edit/format_test.dart |
+++ b/pkg/analysis_server/test/edit/format_test.dart |
@@ -7,7 +7,6 @@ library test.edit.format; |
import 'dart:async'; |
import 'package:analysis_server/src/edit/edit_domain.dart'; |
-import 'package:analysis_server/src/plugin/server_plugin.dart'; |
import 'package:analysis_server/src/protocol.dart'; |
import 'package:plugin/manager.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -28,9 +27,8 @@ class FormatTest extends AbstractAnalysisTest { |
super.setUp(); |
createProject(); |
ExtensionManager manager = new ExtensionManager(); |
- ServerPlugin plugin = new ServerPlugin(); |
- manager.processPlugins([plugin]); |
- handler = new EditDomainHandler(server, plugin); |
+ manager.processPlugins([server.serverPlugin]); |
+ handler = new EditDomainHandler(server); |
} |
Future test_formatNoOp() { |