| Index: pkg/analysis_server/test/analysis/update_content_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/update_content_test.dart b/pkg/analysis_server/test/analysis/update_content_test.dart
|
| index a2ae03b8589068bb14e2cfc4d1a108be4c4b7986..6ab4706202b1d628e98bc0263aeca35f316e6fe5 100644
|
| --- a/pkg/analysis_server/test/analysis/update_content_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/update_content_test.dart
|
| @@ -30,7 +30,7 @@ compilationUnitMatcher(String file) {
|
|
|
| @reflectiveTest
|
| class UpdateContentTest extends AbstractAnalysisTest {
|
| - Map<String, List<AnalysisError>> filesErrors = {};
|
| + Map<String, List<String>> filesErrors = {};
|
| int serverErrorCount = 0;
|
| int navigationCount = 0;
|
|
|
| @@ -42,7 +42,8 @@ class UpdateContentTest extends AbstractAnalysisTest {
|
| void processNotification(Notification notification) {
|
| if (notification.event == ANALYSIS_ERRORS) {
|
| var decoded = new AnalysisErrorsParams.fromNotification(notification);
|
| - _format(AnalysisError e) => "${e.location.startLine}: ${e.message}";
|
| + String _format(AnalysisError e) =>
|
| + "${e.location.startLine}: ${e.message}";
|
| filesErrors[decoded.file] = decoded.errors.map(_format).toList();
|
| }
|
| if (notification.event == ANALYSIS_NAVIGATION) {
|
|
|