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 885c22c39b44f2402e2b861acfc303466b7678cd..d90609541a8a266ef35c89bed2f976719936b81a 100644 |
--- a/pkg/analyzer_cli/test/options_test.dart |
+++ b/pkg/analyzer_cli/test/options_test.dart |
@@ -134,7 +134,7 @@ main() { |
test('sdk warnings', () { |
CommandLineOptions options = CommandLineOptions |
- .parse(['--dart-sdk', '.', '--warnings', 'foo.dart']); |
+ .parse(['--dart-sdk', '.', '--sdk-warnings', 'foo.dart']); |
expect(options.showSdkWarnings, isTrue); |
}); |