| Index: pkg/analysis_server/test/integration/analysis/package_root_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/analysis/package_root_test.dart b/pkg/analysis_server/test/integration/analysis/package_root_test.dart
|
| index 964e53314ed13665fdb155b712f6a0dbafe69511..61974b0b35d4680270306d9b342494b89dd86e6a 100644
|
| --- a/pkg/analysis_server/test/integration/analysis/package_root_test.dart
|
| +++ b/pkg/analysis_server/test/integration/analysis/package_root_test.dart
|
| @@ -39,9 +39,7 @@ f() {}
|
| writeFile(mainPath, mainText);
|
| String normalizedFooBarPath = writeFile(fooBarPath, fooBarText);
|
| sendServerSetSubscriptions([ServerService.STATUS]);
|
| - sendAnalysisSetSubscriptions({
|
| - AnalysisService.NAVIGATION: [mainPath]
|
| - });
|
| + sendAnalysisSetSubscriptions({AnalysisService.NAVIGATION: [mainPath]});
|
| List<NavigationRegion> navigationRegions;
|
| List<NavigationTarget> navigationTargets;
|
| List<String> navigationTargetFiles;
|
| @@ -51,9 +49,8 @@ f() {}
|
| navigationTargets = params.targets;
|
| navigationTargetFiles = params.files;
|
| });
|
| - sendAnalysisSetAnalysisRoots([projPath], [], packageRoots: {
|
| - projPath: packagesPath
|
| - });
|
| + sendAnalysisSetAnalysisRoots([projPath], [],
|
| + packageRoots: {projPath: packagesPath});
|
| return analysisFinished.then((_) {
|
| // Verify that fooBarPath was properly resolved by checking that f()
|
| // refers to it.
|
| @@ -65,8 +62,10 @@ f() {}
|
| found = true;
|
| expect(region.targets, hasLength(1));
|
| int navigationTargetIndex = region.targets[0];
|
| - NavigationTarget navigationTarget = navigationTargets[navigationTargetIndex];
|
| - String navigationFile = navigationTargetFiles[navigationTarget.fileIndex];
|
| + NavigationTarget navigationTarget =
|
| + navigationTargets[navigationTargetIndex];
|
| + String navigationFile =
|
| + navigationTargetFiles[navigationTarget.fileIndex];
|
| expect(navigationFile, equals(normalizedFooBarPath));
|
| }
|
| }
|
|
|