| Index: pkg/analyzer/test/options_test.dart
|
| diff --git a/pkg/analyzer/test/options_test.dart b/pkg/analyzer/test/options_test.dart
|
| index bb2ba2a596855796a8df5098af421bc3d19641e7..f335dee2cd34bfbc7ce82cc6c1bc21b52b4abf06 100644
|
| --- a/pkg/analyzer/test/options_test.dart
|
| +++ b/pkg/analyzer/test/options_test.dart
|
| @@ -20,6 +20,7 @@ main() {
|
| expect(options.displayVersion, isFalse);
|
| expect(options.enableAsync, isFalse);
|
| expect(options.enableEnum, isFalse);
|
| + expect(options.enableTypeChecks, isFalse);
|
| expect(options.ignoreUnrecognizedFlags, isFalse);
|
| expect(options.log, isFalse);
|
| expect(options.machineFormat, isFalse);
|
| @@ -58,6 +59,12 @@ main() {
|
| expect(options.enableEnum, isTrue);
|
| });
|
|
|
| + test('enable type checks', () {
|
| + CommandLineOptions options = CommandLineOptions
|
| + .parse(['--dart-sdk', '.', '--enable_type_cheks', 'foo.dart']);
|
| + expect(options.enableTypeChecks, isTrue);
|
| + });
|
| +
|
| test('log', () {
|
| CommandLineOptions options = CommandLineOptions
|
| .parse(['--dart-sdk', '.', '--log', 'foo.dart']);
|
|
|