| Index: pkg/analysis_server/test/computer/error_test.dart
|
| diff --git a/pkg/analysis_server/test/computer/error_test.dart b/pkg/analysis_server/test/computer/error_test.dart
|
| index 8bdc6b6db335d0e90aac8b93be3199fd6f29cc02..e83f9b28b1216acb7fde989461a82d6292428499 100644
|
| --- a/pkg/analysis_server/test/computer/error_test.dart
|
| +++ b/pkg/analysis_server/test/computer/error_test.dart
|
| @@ -4,16 +4,16 @@
|
|
|
| library test.computer.error;
|
|
|
| -import 'package:analysis_server/src/computer/error.dart';
|
| -import 'package:analysis_server/src/protocol.dart';
|
| import 'package:analysis_server/src/constants.dart';
|
| -import '../mocks.dart';
|
| -import '../reflective_tests.dart';
|
| +import 'package:analysis_server/src/protocol.dart';
|
| import 'package:analyzer/src/generated/error.dart' as engine;
|
| import 'package:analyzer/src/generated/source.dart';
|
| import 'package:typed_mock/typed_mock.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| +import '../mocks.dart';
|
| +import '../reflective_tests.dart';
|
| +
|
|
|
|
|
| main() {
|
| @@ -103,20 +103,4 @@ class AnalysisErrorTest {
|
| MESSAGE: 'my message'
|
| });
|
| }
|
| -
|
| - void test_engineErrorsToJson() {
|
| - var json = engineErrorsToJson(lineInfo, [engineError]);
|
| - expect(json, unorderedEquals([{
|
| - 'severity': 'ERROR',
|
| - 'type': 'COMPILE_TIME_ERROR',
|
| - 'location': {
|
| - 'file': 'foo.dart',
|
| - 'offset': 10,
|
| - 'length': 20,
|
| - 'startLine': 3,
|
| - 'startColumn': 2
|
| - },
|
| - 'message': 'my message'
|
| - }]));
|
| - }
|
| }
|
|
|