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

Unified Diff: pkg/analysis_server/test/integration/analysis/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/integration/analysis/occurrences_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
index 1be1784c5c1d85dba1d0c53273c8c53eb1ede881..57405cf42ea757a02e075609a2501bbb9fcb7044 100644
--- a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
@@ -31,9 +31,7 @@ main() {
''';
writeFile(pathname, text);
standardAnalysisSetup();
- sendAnalysisSetSubscriptions({
- AnalysisService.OCCURRENCES: [pathname]
- });
+ sendAnalysisSetSubscriptions({AnalysisService.OCCURRENCES: [pathname]});
List<Occurrences> occurrences;
onAnalysisOccurrences.listen((AnalysisOccurrencesParams params) {
expect(params.file, equals(pathname));
@@ -51,8 +49,9 @@ main() {
return null;
}
void check(String elementName, Iterable<String> expectedOccurrences) {
- Set<int> expectedOffsets =
- expectedOccurrences.map((String substring) => text.indexOf(substring)).toSet();
+ Set<int> expectedOffsets = expectedOccurrences
+ .map((String substring) => text.indexOf(substring))
+ .toSet();
Set<int> foundOffsets = findOffsets(elementName);
expect(foundOffsets, equals(expectedOffsets));
}

Powered by Google App Engine
This is Rietveld 408576698