Index: pkg/analysis_server/test/analysis/notification_navigation_test.dart |
diff --git a/pkg/analysis_server/test/analysis/notification_navigation_test.dart b/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
index a68da1d051eda2c996f4dae1bce57582430a3a8f..8c6dab00fce30c8d34feddd7ade411d87ad56950 100644 |
--- a/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
+++ b/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
@@ -13,13 +13,11 @@ import 'package:unittest/unittest.dart'; |
import '../analysis_abstract.dart'; |
import '../reflective_tests.dart'; |
- |
main() { |
groupSep = ' | '; |
runReflectiveTests(AnalysisNotificationNavigationTest); |
} |
- |
@reflectiveTest |
class AnalysisNotificationNavigationTest extends AbstractAnalysisTest { |
List<NavigationRegion> regions; |
@@ -47,7 +45,7 @@ class AnalysisNotificationNavigationTest extends AbstractAnalysisTest { |
} |
fail( |
'Expected to find target (file=$file; offset=$offset; length=$length) in\n' |
- '${testRegion} in\n' '${testTargets.join('\n')}'); |
+ '${testRegion} in\n' '${testTargets.join('\n')}'); |
} |
void assertHasOperatorRegion(String regionSearch, int regionLength, |
@@ -155,9 +153,8 @@ class AnalysisNotificationNavigationTest extends AbstractAnalysisTest { |
if (region.offset == offset && |
(length == -1 || region.length == length)) { |
if (exists == false) { |
- fail( |
- 'Not expected to find (offset=$offset; length=$length) in\n' |
- '${regions.join('\n')}'); |
+ fail('Not expected to find (offset=$offset; length=$length) in\n' |
+ '${regions.join('\n')}'); |
} |
testRegion = region; |
testTargetIndexes = region.targets; |
@@ -165,9 +162,8 @@ class AnalysisNotificationNavigationTest extends AbstractAnalysisTest { |
} |
} |
if (exists == true) { |
- fail( |
- 'Expected to find (offset=$offset; length=$length) in\n' |
- '${regions.join('\n')}'); |
+ fail('Expected to find (offset=$offset; length=$length) in\n' |
+ '${regions.join('\n')}'); |
} |
} |