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

Unified Diff: pkg/analysis_server/test/analysis/notification_occurrences_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_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')}');
}
}

Powered by Google App Engine
This is Rietveld 408576698