Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: pkg/analysis_server/test/analysis/notification_navigation_test.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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')}');
}
}

Powered by Google App Engine
This is Rietveld 408576698