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 f30a6e4540f52bfb26cca3af8dded759473654ed..35a1d4f14019cf3fa840501773ef123e180ee9f4 100644 |
--- a/pkg/analyzer_cli/test/options_test.dart |
+++ b/pkg/analyzer_cli/test/options_test.dart |
@@ -154,8 +154,7 @@ main() { |
test('notice unrecognized flags', () { |
expect( |
- () => new CommandLineParser() |
- .parse(['--bar', '--baz', 'foo.dart'], {}), |
+ () => new CommandLineParser().parse(['--bar', '--baz', 'foo.dart']), |
throwsA(new isInstanceOf<FormatException>())); |
}); |
@@ -178,7 +177,7 @@ main() { |
parser.addOption('optionA'); |
parser.addFlag('flagA'); |
ArgResults argResults = |
- parser.parse(['--optionA=1', '--optionB=2', '--flagA'], {}); |
+ parser.parse(['--optionA=1', '--optionB=2', '--flagA']); |
expect(argResults['optionA'], '1'); |
expect(argResults['flagA'], isTrue); |
}); |