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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/standalone/io/regress_7191_script.dart
diff --git a/tests/standalone/io/regress_7191_script.dart b/tests/standalone/io/regress_7191_script.dart
index 7bc7a3e3091863fb1e1428056e9997ba76145f2f..9f7c78036973524873fabcdde652c631a4f494a6 100644
--- a/tests/standalone/io/regress_7191_script.dart
+++ b/tests/standalone/io/regress_7191_script.dart
@@ -11,8 +11,7 @@ main() {
// Start sub-process when receiving data.
var subscription;
subscription = stdin.listen((data) {
- var options = new Options();
- Process.start(options.executable, [options.script]).then((p) {
+ Process.start(Platform.executable, [Platform.script]).then((p) {
p.stdout.listen((_) { });
p.stderr.listen((_) { });
// When receiving data again, kill sub-process and exit.

Powered by Google App Engine
This is Rietveld 408576698