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); |
} |
-} |
+} |