| Index: pkg/analyzer/test/options_test.dart
|
| diff --git a/pkg/analyzer/test/options_test.dart b/pkg/analyzer/test/options_test.dart
|
| index fcff6ef73579438d4fda3129898e5b5c747aa60e..006fd6b3bfae3677d4704c605de86311d8eaedc4 100644
|
| --- a/pkg/analyzer/test/options_test.dart
|
| +++ b/pkg/analyzer/test/options_test.dart
|
| @@ -19,6 +19,7 @@ main() {
|
| expect(options.dartSdkPath, isNotNull);
|
| expect(options.disableHints, isFalse);
|
| expect(options.displayVersion, isFalse);
|
| + expect(options.enableStrictCallChecks, isFalse);
|
| expect(options.enableTypeChecks, isFalse);
|
| expect(options.ignoreUnrecognizedFlags, isFalse);
|
| expect(options.log, isFalse);
|
| @@ -48,6 +49,12 @@ main() {
|
| expect(options.definedVariables['bar'], isNull);
|
| });
|
|
|
| + test('enable strict call checks', () {
|
| + CommandLineOptions options = CommandLineOptions.parse(
|
| + ['--dart-sdk', '.', '--enable-strict-call-checks', 'foo.dart']);
|
| + expect(options.enableStrictCallChecks, isTrue);
|
| + });
|
| +
|
| test('enable type checks', () {
|
| CommandLineOptions options = CommandLineOptions
|
| .parse(['--dart-sdk', '.', '--enable_type_checks', 'foo.dart']);
|
|
|