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

Unified Diff: pkg/source_maps/test/run.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
Index: pkg/source_maps/test/run.dart
diff --git a/pkg/source_maps/test/run.dart b/pkg/source_maps/test/run.dart
index 876cff774eacb2472d27a0789f996777bb7975ab..21d20377e188c94cd6dc0004ed76d64fba4ffda6 100755
--- a/pkg/source_maps/test/run.dart
+++ b/pkg/source_maps/test/run.dart
@@ -18,9 +18,8 @@ import 'span_test.dart' as span_test;
import 'utils_test.dart' as utils_test;
import 'vlq_test.dart' as vlq_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();
void addGroup(testFile, testMain) {
« no previous file with comments | « pkg/intl/test/message_extraction/make_hardcoded_translation.dart ('k') | pkg/third_party/html5lib/test/run_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698