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

Unified Diff: tests/standalone/io/process_check_arguments_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_check_arguments_test.dart
diff --git a/tests/standalone/io/process_check_arguments_test.dart b/tests/standalone/io/process_check_arguments_test.dart
index 4f1c0a676df5cbaf334dfe27e7dc966976fd3e54..a5ce40c86363f772942e60b1bb50a69d97cd7c4a 100644
--- a/tests/standalone/io/process_check_arguments_test.dart
+++ b/tests/standalone/io/process_check_arguments_test.dart
@@ -6,7 +6,7 @@
#source("process_test_util.dart");
test(args) {
- Process process = new Process.start(getDartFileName(), args);
+ Process process = new Process.start(new Options().executable, args);
// Wait for the process to exit and then check result.
process.onExit = (exitCode) {
Expect.equals(0, exitCode);

Powered by Google App Engine
This is Rietveld 408576698