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

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

Issue 2488043002: Enable generic method support by default (Closed)
Patch Set: clean up Created 4 years, 1 month 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
« no previous file with comments | « pkg/analyzer/test/src/task/dart_test.dart ('k') | tests/language/language_analyzer2.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ce4bf2e89595fc9b355c5b43c24bbae08ddedf2c..b8d0a5a00dff5c5f2906435a9711ee7b6c868505 100644
--- a/pkg/analyzer/test/src/task/options_test.dart
+++ b/pkg/analyzer/test/src/task/options_test.dart
@@ -54,14 +54,14 @@ analyzer:
expect(analysisOptions.strongMode, false);
}
- test_configure_enableGenericMethods() {
- expect(analysisOptions.enableGenericMethods, false);
+ test_configure_enableLazyAssignmentOperators() {
+ expect(analysisOptions.enableStrictCallChecks, false);
configureContext('''
analyzer:
language:
- enableGenericMethods: true
+ enableStrictCallChecks: true
''');
- expect(analysisOptions.enableGenericMethods, true);
+ expect(analysisOptions.enableStrictCallChecks, true);
}
test_configure_enableStrictCallChecks() {
« no previous file with comments | « pkg/analyzer/test/src/task/dart_test.dart ('k') | tests/language/language_analyzer2.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698