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

Unified Diff: tests/standalone/io/code_collection_test.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 | « tests/standalone/debugger/tostring_throws_test.dart ('k') | third_party/pkg/js/build.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/code_collection_test.dart
diff --git a/tests/standalone/io/code_collection_test.dart b/tests/standalone/io/code_collection_test.dart
index 0cc36984dfe2d23c88b1dc5c738381da4516787a..80a19155148c23270768979a03116aeba0098a87 100644
--- a/tests/standalone/io/code_collection_test.dart
+++ b/tests/standalone/io/code_collection_test.dart
@@ -40,9 +40,8 @@ doTest() {
}
-main() {
- var opts = new Options();
- if (opts.arguments.contains("--run")) {
+main(List<String> arguments) {
+ if (arguments.contains("--run")) {
doTest();
} else {
// Run the test and capture stdout.
@@ -65,4 +64,4 @@ main() {
});
Expect.isTrue(found);
}
-}
+}
« no previous file with comments | « tests/standalone/debugger/tostring_throws_test.dart ('k') | third_party/pkg/js/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698