Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2713723003: Remove and hide analyzer cli flags. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 5a6cc265ee46155eca1705185d5ec6c2625e8e05..cec0362ffe20edaf4af1144bf58f4820b81413e1 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1878,8 +1878,7 @@ class AnalyzeLibraryTestSuite extends DartcCompilationTestSuite {
List<String> additionalOptions(Path filePath, {bool showSdkWarnings}) {
var options = super.additionalOptions(filePath);
- // NOTE: This flag has been deprecated.
- options.add('--show-sdk-warnings');
+ options.add('--sdk-warnings');
return options;
}
« pkg/analyzer_cli/lib/src/options.dart ('K') | « pkg/analyzer_cli/test/options_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698