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

Unified Diff: tests/standalone/io/options_test.dart

Issue 22859009: Changes to how we handle fancy stacks: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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: 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]);

Powered by Google App Engine
This is Rietveld 408576698