| Index: pkg/analyzer/test/generated/resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
|
| index 8307a9cc1527a94b50ffe108d856e5091c1def34..77d23371e4ca2fdf532f2f0cb242a70495d31c56 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -414,12 +414,12 @@ class AnalysisContextHelper {
|
| /**
|
| * Creates new [AnalysisContext] using [AnalysisContextFactory.contextWithCore].
|
| */
|
| - AnalysisContextHelper() {
|
| - context = AnalysisContextFactory.contextWithCore();
|
| - AnalysisOptionsImpl options =
|
| - new AnalysisOptionsImpl.from(context.analysisOptions);
|
| + AnalysisContextHelper([AnalysisOptionsImpl options]) {
|
| + if (options == null) {
|
| + options = new AnalysisOptionsImpl();
|
| + }
|
| options.cacheSize = 256;
|
| - context.analysisOptions = options;
|
| + context = AnalysisContextFactory.contextWithCoreAndOptions(options);
|
| }
|
|
|
| Source addSource(String path, String code) {
|
|
|