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

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

Issue 1789633004: Option support for enableStrictCallChecks (#25983) (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 105ed8b46f977f0418004fbb4695bf15bf09c497..03a257944f55a6800a7391ef50b718791d6219e5 100644
--- a/pkg/analyzer/test/src/task/options_test.dart
+++ b/pkg/analyzer/test/src/task/options_test.dart
@@ -96,6 +96,15 @@ analyzer:
expect(analysisOptions.enableSuperMixins, true);
}
+ test_configure_enableStrictCallChecks() {
+ configureContext('''
+analyzer:
+ language:
+ enableStrictCallChecks: true
+''');
+ expect(analysisOptions.enableStrictCallChecks, true);
+ }
+
test_configure_error_processors() {
configureContext('''
analyzer:
« pkg/analyzer/lib/src/task/options.dart ('K') | « pkg/analyzer/lib/src/task/options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698