| 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));
|
| }
|
|
|