| 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 3b39f0baf4dbb55f6eb0fa038aeffab2117eb05e..5185e9b68eb98d3bf03bf300c74b8c1bd25b5e3d 100644
|
| --- a/pkg/analyzer/test/src/task/options_test.dart
|
| +++ b/pkg/analyzer/test/src/task/options_test.dart
|
| @@ -41,6 +41,16 @@ class ContextConfigurationTest extends AbstractContextTest {
|
| Map<String, YamlNode> parseOptions(String source) =>
|
| optionsProvider.getOptionsFromString(source);
|
|
|
| + test_configure_enableGenericMethods() {
|
| + expect(analysisOptions.enableGenericMethods, false);
|
| + configureContext('''
|
| +analyzer:
|
| + language:
|
| + enableGenericMethods: true
|
| +''');
|
| + expect(analysisOptions.enableGenericMethods, true);
|
| + }
|
| +
|
| test_configure_enableSuperMixins() {
|
| configureContext('''
|
| analyzer:
|
| @@ -245,7 +255,7 @@ analyzer:
|
| language:
|
| unsupported: true
|
| ''',
|
| - [AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUE]);
|
| + [AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES]);
|
| }
|
|
|
| test_analyzer_language_unsupported_value() {
|
|
|