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

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

Issue 10380026: Add executable to Options interface to get the name of the executable used to execute the script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/process_broken_pipe_test.dart
diff --git a/tests/standalone/io/process_broken_pipe_test.dart b/tests/standalone/io/process_broken_pipe_test.dart
index 440fda06c67d32dcb14dab384dd26ecbd2f53c15..8cb16903753e663d190893e8e6462d5fa55cc57f 100644
--- a/tests/standalone/io/process_broken_pipe_test.dart
+++ b/tests/standalone/io/process_broken_pipe_test.dart
@@ -10,7 +10,7 @@
main() {
// Running dart without arguments makes it close right away.
- Process process = new Process.start(getDartFileName(), []);
+ Process process = new Process.start(new Options().executable, []);
// Ignore error on stdin.
process.stdin.onError = (e) => null;

Powered by Google App Engine
This is Rietveld 408576698