Index: pkg/analyzer/test/src/task/options_test.dart |
diff --git a/pkg/analyzer/test/src/task/options_test.dart b/pkg/analyzer/test/src/task/options_test.dart |
index b8f717a57b4f65e65888b05fd12d0d8d16b2a413..675fd3357747a71c4f4c17fe31af3033cd2c3b16 100644 |
--- a/pkg/analyzer/test/src/task/options_test.dart |
+++ b/pkg/analyzer/test/src/task/options_test.dart |
@@ -38,7 +38,7 @@ class ContextConfigurationTest extends AbstractContextTest { |
AnalysisOptions get analysisOptions => context.analysisOptions; |
configureContext(String optionsSource) => |
- configureContextOptions(context, parseOptions(optionsSource)); |
+ applyToAnalysisOptions(analysisOptions, parseOptions(optionsSource)); |
Map<String, YamlNode> parseOptions(String source) => |
optionsProvider.getOptionsFromString(source); |
@@ -87,7 +87,7 @@ analyzer: |
unused_local_variable: error |
'''); |
- List<ErrorProcessor> processors = context.analysisOptions.errorProcessors; |
+ List<ErrorProcessor> processors = analysisOptions.errorProcessors; |
expect(processors, hasLength(2)); |
var unused_local = new AnalysisError( |
@@ -118,7 +118,7 @@ analyzer: |
- 'test/**' |
'''); |
- List<String> excludes = context.analysisOptions.excludePatterns; |
+ List<String> excludes = analysisOptions.excludePatterns; |
expect(excludes, unorderedEquals(['foo/bar.dart', 'test/**'])); |
} |