| Index: tests/standalone/io/options_test.dart
|
| ===================================================================
|
| --- tests/standalone/io/options_test.dart (revision 26407)
|
| +++ tests/standalone/io/options_test.dart (working copy)
|
| @@ -8,8 +8,14 @@
|
| import "dart:math";
|
| import "dart:io";
|
|
|
| +_removeTestRunnerOptions(Options options) {
|
| + options.arguments.remove('--no-fancy-stacks');
|
| + options.arguments.remove('--no-filtered-stacks');
|
| +}
|
| +
|
| main() {
|
| var opts = new Options();
|
| + _removeTestRunnerOptions(opts);
|
|
|
| // Basic test for functionality.
|
| Expect.equals(3, opts.arguments.length);
|
| @@ -27,6 +33,7 @@
|
|
|
| // Check that a new options object still gets the original arguments.
|
| var opts2 = new Options();
|
| + _removeTestRunnerOptions(opts2);
|
| Expect.equals(3, opts2.arguments.length);
|
| Expect.equals(10, int.parse(opts2.arguments[0]));
|
| Expect.equals("options_test", opts2.arguments[1]);
|
|
|