Index: pkg/analyzer/test/stress/for_git_repository.dart |
diff --git a/pkg/analyzer/test/stress/for_git_repository.dart b/pkg/analyzer/test/stress/for_git_repository.dart |
index 0fe14f3d9a9cec7cbead38c6bd55835769df9115..23105816ef255109355f5c26325e402123a3077f 100644 |
--- a/pkg/analyzer/test/stress/for_git_repository.dart |
+++ b/pkg/analyzer/test/stress/for_git_repository.dart |
@@ -246,9 +246,11 @@ class StressTest { |
FolderBasedDartSdk.defaultSdkDirectory(resourceProvider); |
sdkManager = new DartSdkManager(sdkDirectory.path, false); |
contentCache = new ContentCache(); |
- ContextBuilder builder = |
- new ContextBuilder(resourceProvider, sdkManager, contentCache); |
- builder.defaultOptions = new AnalysisOptionsImpl(); |
+ ContextBuilderOptions builderOptions = new ContextBuilderOptions(); |
+ builderOptions.defaultOptions = new AnalysisOptionsImpl(); |
+ ContextBuilder builder = new ContextBuilder( |
+ resourceProvider, sdkManager, contentCache, |
+ options: builderOptions); |
expectedContext = builder.buildContext(folderPath); |
actualContext = builder.buildContext(folderPath); |
expectedContext.analysisOptions = |