Index: pkg/analysis_server/test/edit/fixes_test.dart |
diff --git a/pkg/analysis_server/test/edit/fixes_test.dart b/pkg/analysis_server/test/edit/fixes_test.dart |
index f8649181beb0497a9f8e8c1d2ff90e03f280ff2f..70f754298f00d39ee7efa5cc91b7b683d6af7bc4 100644 |
--- a/pkg/analysis_server/test/edit/fixes_test.dart |
+++ b/pkg/analysis_server/test/edit/fixes_test.dart |
@@ -9,7 +9,7 @@ import 'package:analysis_server/protocol/protocol_generated.dart'; |
import 'package:analysis_server/src/edit/edit_domain.dart'; |
import 'package:analysis_server/src/plugin/plugin_manager.dart'; |
import 'package:analyzer_plugin/protocol/protocol.dart' as plugin; |
-import 'package:analyzer_plugin/protocol/protocol_common.dart' as plugin; |
+import 'package:analyzer_plugin/protocol/protocol_common.dart'; |
import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; |
import 'package:analyzer_plugin/src/protocol/protocol_internal.dart' as plugin; |
import 'package:plugin/manager.dart'; |
@@ -56,12 +56,8 @@ main() { |
test_fromPlugins() async { |
PluginInfo info = new DiscoveredPluginInfo('a', 'b', 'c', null, null); |
plugin.AnalysisErrorFixes fixes = new plugin.AnalysisErrorFixes( |
- new plugin.AnalysisError( |
- plugin.AnalysisErrorSeverity.ERROR, |
- plugin.AnalysisErrorType.HINT, |
- new plugin.Location('', 0, 0, 0, 0), |
- 'message', |
- 'code')); |
+ new AnalysisError(AnalysisErrorSeverity.ERROR, AnalysisErrorType.HINT, |
+ new Location('', 0, 0, 0, 0), 'message', 'code')); |
plugin.EditGetFixesResult result = |
new plugin.EditGetFixesResult(<plugin.AnalysisErrorFixes>[fixes]); |
pluginManager.broadcastResults = <PluginInfo, Future<plugin.Response>>{ |