Index: pkg/analysis_server/test/domain_completion_test.dart |
diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart |
index 63dc55966bf871fc8c10c4fdcdef58cf421f3849..888b7ccf911ace21c6ed41cd88ad38f2b3b14f31 100644 |
--- a/pkg/analysis_server/test/domain_completion_test.dart |
+++ b/pkg/analysis_server/test/domain_completion_test.dart |
@@ -358,6 +358,8 @@ class CompletionTest extends AbstractAnalysisTest { |
expect(suggestionsDone, isNotNull); |
suggestions = params.results; |
} |
+ } else if (notification.event == SERVER_ERROR) { |
+ fail('server error: ${notification.toJson()}'); |
} |
} |