| Index: pkg/analysis_server/test/analysis/notification_occurrences_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/notification_occurrences_test.dart b/pkg/analysis_server/test/analysis/notification_occurrences_test.dart
|
| index baa29d1df306caf072c90694a9968675a0858516..2b78fbffd085ce5e748f49f28c17026e5a07349c 100644
|
| --- a/pkg/analysis_server/test/analysis/notification_occurrences_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/notification_occurrences_test.dart
|
| @@ -13,13 +13,11 @@ import 'package:unittest/unittest.dart';
|
| import '../analysis_abstract.dart';
|
| import '../reflective_tests.dart';
|
|
|
| -
|
| main() {
|
| groupSep = ' | ';
|
| runReflectiveTests(AnalysisNotificationOccurrencesTest);
|
| }
|
|
|
| -
|
| @reflectiveTest
|
| class AnalysisNotificationOccurrencesTest extends AbstractAnalysisTest {
|
| List<Occurrences> occurrencesList;
|
| @@ -62,9 +60,8 @@ class AnalysisNotificationOccurrencesTest extends AbstractAnalysisTest {
|
| for (int occurrenceOffset in occurrences.offsets) {
|
| if (occurrenceOffset == offset) {
|
| if (exists == false) {
|
| - fail(
|
| - 'Not expected to find (offset=$offset; length=$length) in\n'
|
| - '${occurrencesList.join('\n')}');
|
| + fail('Not expected to find (offset=$offset; length=$length) in\n'
|
| + '${occurrencesList.join('\n')}');
|
| }
|
| testOccurences = occurrences;
|
| return;
|
| @@ -72,9 +69,8 @@ class AnalysisNotificationOccurrencesTest extends AbstractAnalysisTest {
|
| }
|
| }
|
| if (exists == true) {
|
| - fail(
|
| - 'Expected to find (offset=$offset; length=$length) in\n'
|
| - '${occurrencesList.join('\n')}');
|
| + fail('Expected to find (offset=$offset; length=$length) in\n'
|
| + '${occurrencesList.join('\n')}');
|
| }
|
| }
|
|
|
|
|