| Index: pkg/analysis_server/test/analysis/notification_overrides_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/notification_overrides_test.dart b/pkg/analysis_server/test/analysis/notification_overrides_test.dart
|
| index b9a315726d96ab788f775a14c16ad43286e52ac2..7875504b8c56d8e67ea02abcb6b128496e21c852 100644
|
| --- a/pkg/analysis_server/test/analysis/notification_overrides_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/notification_overrides_test.dart
|
| @@ -13,13 +13,11 @@ import 'package:unittest/unittest.dart';
|
| import '../analysis_abstract.dart';
|
| import '../reflective_tests.dart';
|
|
|
| -
|
| main() {
|
| groupSep = ' | ';
|
| runReflectiveTests(AnalysisNotificationOverridesTest);
|
| }
|
|
|
| -
|
| @reflectiveTest
|
| class AnalysisNotificationOverridesTest extends AbstractAnalysisTest {
|
| List<Override> overridesList;
|
| @@ -36,9 +34,8 @@ class AnalysisNotificationOverridesTest extends AbstractAnalysisTest {
|
| return;
|
| }
|
| }
|
| - fail(
|
| - 'Expect to find an overridden interface members at $offset in '
|
| - '${override.interfaceMembers.join('\n')}');
|
| + fail('Expect to find an overridden interface members at $offset in '
|
| + '${override.interfaceMembers.join('\n')}');
|
| }
|
|
|
| /**
|
| @@ -91,18 +88,16 @@ class AnalysisNotificationOverridesTest extends AbstractAnalysisTest {
|
| for (Override override in overridesList) {
|
| if (override.offset == offset && override.length == length) {
|
| if (exists == false) {
|
| - fail(
|
| - 'Not expected to find (offset=$offset; length=$length) in\n'
|
| - '${overridesList.join('\n')}');
|
| + fail('Not expected to find (offset=$offset; length=$length) in\n'
|
| + '${overridesList.join('\n')}');
|
| }
|
| this.override = override;
|
| return;
|
| }
|
| }
|
| if (exists == true) {
|
| - fail(
|
| - 'Expected to find (offset=$offset; length=$length) in\n'
|
| - '${overridesList.join('\n')}');
|
| + fail('Expected to find (offset=$offset; length=$length) in\n'
|
| + '${overridesList.join('\n')}');
|
| }
|
| }
|
|
|
|
|