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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 6 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
« no previous file with comments | « tests/standalone/io/process_pid_test.dart ('k') | tests/standalone/io/process_set_exit_code_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_run_output_test.dart
diff --git a/tests/standalone/io/process_run_output_test.dart b/tests/standalone/io/process_run_output_test.dart
index f8b06d4b915cbf2ed8ff321e1300947b97b9ad7e..efa98927a5cd2a84395fa31c40cdfd41da8a81e3 100644
--- a/tests/standalone/io/process_run_output_test.dart
+++ b/tests/standalone/io/process_run_output_test.dart
@@ -35,7 +35,7 @@ test(scriptFile, encoding, stream) {
}
if (stream == 'stdout') {
- Process.run(new Options().executable,
+ Process.run(Platform.executable,
[scriptFile, encoding, stream],
stdoutEncoding: enc). then((result) {
Expect.equals(result.exitCode, 0);
@@ -43,7 +43,7 @@ test(scriptFile, encoding, stream) {
checkOutput(encoding, result.stdout);
});
} else {
- Process.run(new Options().executable,
+ Process.run(Platform.executable,
[scriptFile, encoding, stream],
stderrEncoding: enc).then((result) {
Expect.equals(result.exitCode, 0);
« no previous file with comments | « tests/standalone/io/process_pid_test.dart ('k') | tests/standalone/io/process_set_exit_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698