Index: pkg/analysis_server/test/context_manager_test.dart |
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart |
index 147202779fb409bb938cfa28df6ba7249caefa69..17bfcabdbb7324804b1cf26d415fd817a866ac56 100644 |
--- a/pkg/analysis_server/test/context_manager_test.dart |
+++ b/pkg/analysis_server/test/context_manager_test.dart |
@@ -392,6 +392,7 @@ analyzer: |
language: |
enableGenericMethods: true |
enableAsync: false |
+ enableConditionalDirectives: true |
errors: |
unused_local_variable: false |
linter: |
@@ -417,6 +418,8 @@ linter: |
expect(context.analysisOptions.enableAsync, isFalse); |
// * from `.analysis_options`: |
expect(context.analysisOptions.enableGenericMethods, isTrue); |
+ expect(context.analysisOptions.enableConditionalDirectives, isTrue); |
+ |
// * verify tests are excluded |
expect( |
callbacks.currentContextFilePaths[projPath].keys, |