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

Unified Diff: tools/gardening/bin/find_shard.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/find_shard.dart
diff --git a/tools/gardening/bin/find_shard.dart b/tools/gardening/bin/find_shard.dart
index 84434a63e15175e2e4f5b67092163a5f55266050..3cefbe0257c876abc85bde34501ab264d579a582 100755
--- a/tools/gardening/bin/find_shard.dart
+++ b/tools/gardening/bin/find_shard.dart
@@ -9,6 +9,7 @@
// Example: `bin/find_shard.dart precomp-linux-debug-x64-be`
// prints `vm-precomp(5): precomp-linux-debug-x64-be`.
+import 'dart:async';
import 'dart:io';
import 'package:args/args.dart';
import 'package:gardening/src/shard_data.dart';
@@ -54,7 +55,7 @@ bool shard_enabled(String shard) {
return true;
}
-main(List<String> args) async {
+Future main(List<String> args) async {
ArgParser argParser = createArgParser();
argParser.addFlag("include-dev",
abbr: "d",

Powered by Google App Engine
This is Rietveld 408576698