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

Unified Diff: tools/gardening/bin/compare_failures.dart

Issue 2999043003: Use package:testing for tools/gardening (Closed)
Patch Set: Created 3 years, 4 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/gardening/bin/compare_failures.dart
diff --git a/tools/gardening/bin/compare_failures.dart b/tools/gardening/bin/compare_failures.dart
index b5d08aa239a107f04c2b69529ad94953384b75ec..6c3a4595d76ac31dbfd646b55a01460e1e4c4569 100644
--- a/tools/gardening/bin/compare_failures.dart
+++ b/tools/gardening/bin/compare_failures.dart
@@ -6,6 +6,7 @@
///
/// Use this to detect flakiness of failures, especially timeouts.
+import 'dart:async';
import 'dart:io';
import 'package:args/args.dart';
@@ -26,7 +27,7 @@ void help(ArgParser argParser) {
print(argParser.usage);
}
-main(List<String> args) async {
+Future main(List<String> args) async {
ArgParser argParser = createArgParser();
argParser.addOption("run-count",
defaultsTo: "10", help: "How many previous runs should be fetched");

Powered by Google App Engine
This is Rietveld 408576698