| Index: pkg/analyzer_cli/test/options_test.dart
|
| diff --git a/pkg/analyzer_cli/test/options_test.dart b/pkg/analyzer_cli/test/options_test.dart
|
| index 3ca3af398880447f4c72b291c3574984478ea2a6..e8a22ecc7de24da4a4ae6a7b721b3ba67a18c7d0 100644
|
| --- a/pkg/analyzer_cli/test/options_test.dart
|
| +++ b/pkg/analyzer_cli/test/options_test.dart
|
| @@ -36,7 +36,7 @@ main() {
|
| expect(options.enableSuperMixins, isFalse);
|
| expect(options.enableTypeChecks, isFalse);
|
| expect(options.enableAssertInitializer, isNull);
|
| - expect(options.hintsAreFatal, isFalse);
|
| + expect(options.infosAreFatal, isFalse);
|
| expect(options.ignoreUnrecognizedFlags, isFalse);
|
| expect(options.log, isFalse);
|
| expect(options.machineFormat, isFalse);
|
| @@ -96,7 +96,13 @@ main() {
|
| test('hintsAreFatal', () {
|
| CommandLineOptions options = CommandLineOptions
|
| .parse(['--dart-sdk', '.', '--fatal-hints', 'foo.dart']);
|
| - expect(options.hintsAreFatal, isTrue);
|
| + expect(options.infosAreFatal, isTrue);
|
| + });
|
| +
|
| + test('infosAreFatal', () {
|
| + CommandLineOptions options = CommandLineOptions
|
| + .parse(['--dart-sdk', '.', '--fatal-infos', 'foo.dart']);
|
| + expect(options.infosAreFatal, isTrue);
|
| });
|
|
|
| test('log', () {
|
|
|