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

Unified Diff: pkg/csslib/test/run_all.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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
« no previous file with comments | « pkg/csslib/lib/css.dart ('k') | pkg/docgen/bin/docgen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/csslib/test/run_all.dart
diff --git a/pkg/csslib/test/run_all.dart b/pkg/csslib/test/run_all.dart
index 2ec893889ea17280038b4cf6aede79051523afef..f57ff3eeeca6a62bbeaad818e84e2a04abf59d19 100644
--- a/pkg/csslib/test/run_all.dart
+++ b/pkg/csslib/test/run_all.dart
@@ -23,10 +23,8 @@ import 'mixin_test.dart' as mixin_test;
import 'extend_test.dart' as extend_test;
import 'big_1_test.dart' as big_1_test;
-main() {
- var args = new Options().arguments;
-
- var pattern = new RegExp(args.length > 0 ? args[0] : '.');
+main(List<String> arguments) {
+ var pattern = new RegExp(arguments.length > 0 ? arguments[0] : '.');
useCompactVMConfiguration();
useMockMessages();
« no previous file with comments | « pkg/csslib/lib/css.dart ('k') | pkg/docgen/bin/docgen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698