| Index: pkg/analyzer/test/src/context/builder_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/builder_test.dart b/pkg/analyzer/test/src/context/builder_test.dart
|
| index 2ebe18294ba0b41580d92ed6e5a7eb7d75f51921..83e059329844874a986cc88fb19345bfd8553651 100644
|
| --- a/pkg/analyzer/test/src/context/builder_test.dart
|
| +++ b/pkg/analyzer/test/src/context/builder_test.dart
|
| @@ -722,32 +722,24 @@ linter:
|
| AnalysisOptionsImpl expected = new AnalysisOptionsImpl();
|
| expected.lint = true;
|
| expected.lintRules = <Linter>[_mockLintRule];
|
| - String packagesFilePath =
|
| - resourceProvider.convertPath('/some/directory/path/.packages');
|
| - print('>>> packages: $packagesFilePath');
|
| - createFile(packagesFilePath, 'flutter:/pkg/flutter/lib/');
|
| - String optionsFilePath = resourceProvider
|
| - .convertPath('/pkg/flutter/lib/analysis_options_user.yaml');
|
| - print('>>> options: $optionsFilePath');
|
| createFile(
|
| - optionsFilePath,
|
| + resourceProvider.convertPath('/some/directory/path/.packages'),
|
| + '''
|
| +flutter:/pkg/flutter/lib/
|
| +''');
|
| + createFile(
|
| + resourceProvider
|
| + .convertPath('/pkg/flutter/lib/analysis_options_user.yaml'),
|
| '''
|
| linter:
|
| rules:
|
| - mock_lint_rule
|
| ''');
|
| - String projPath = resourceProvider.convertPath('/some/directory/path');
|
| - AnalysisOptions options = builder.getAnalysisOptions(projPath);
|
| + AnalysisOptions options = builder.getAnalysisOptions(
|
| + resourceProvider.convertPath('/some/directory/path'));
|
| // TODO(danrubel) fix on Windows
|
| if (resourceProvider.absolutePathContext.separator != r'\') {
|
| _expectEqualOptions(options, expected);
|
| - } else {
|
| - // echo some debugging information
|
| - print('>>> projPath: $projPath');
|
| - print('>>> ${builderOptions.defaultAnalysisOptionsFilePath}');
|
| - print('>>> getOptionsFile: ${builder.getOptionsFile(projPath)}');
|
| - _expectEqualOptions(options, expected);
|
| - fail('>>>>>>> Fail to echo test output on bots <<<<<<<');
|
| }
|
| }
|
|
|
|
|