Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Unified Diff: pkg/analyzer/test/src/task/options_test.dart

Issue 1843473002: Sort analyzer sources (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove generated file and fix misplaced comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 03a257944f55a6800a7391ef50b718791d6219e5..77e299088d7cfca6bf4f9ecb889ad3f2423f626d 100644
--- a/pkg/analyzer/test/src/task/options_test.dart
+++ b/pkg/analyzer/test/src/task/options_test.dart
@@ -67,16 +67,6 @@ analyzer:
expect(analysisOptions.enableAsync, false);
}
- test_configure_enableGenericMethods() {
- expect(analysisOptions.enableGenericMethods, false);
- configureContext('''
-analyzer:
- language:
- enableGenericMethods: true
-''');
- expect(analysisOptions.enableGenericMethods, true);
- }
-
test_configure_enableConditionalDirectives() {
expect(analysisOptions.enableConditionalDirectives, false);
configureContext('''
@@ -87,13 +77,14 @@ analyzer:
expect(analysisOptions.enableConditionalDirectives, true);
}
- test_configure_enableSuperMixins() {
+ test_configure_enableGenericMethods() {
+ expect(analysisOptions.enableGenericMethods, false);
configureContext('''
analyzer:
language:
- enableSuperMixins: true
+ enableGenericMethods: true
''');
- expect(analysisOptions.enableSuperMixins, true);
+ expect(analysisOptions.enableGenericMethods, true);
}
test_configure_enableStrictCallChecks() {
@@ -105,6 +96,15 @@ analyzer:
expect(analysisOptions.enableStrictCallChecks, true);
}
+ test_configure_enableSuperMixins() {
+ configureContext('''
+analyzer:
+ language:
+ enableSuperMixins: true
+''');
+ expect(analysisOptions.enableSuperMixins, true);
+ }
+
test_configure_error_processors() {
configureContext('''
analyzer:
« no previous file with comments | « pkg/analyzer/test/source/embedder_test.dart ('k') | pkg/analyzer/test/src/task/strong/strong_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698