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

Unified Diff: tests/standalone/io/file_read_special_device_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/dart_std_io_pipe_test.dart ('k') | tests/standalone/io/file_read_stdio_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_read_special_device_test.dart
diff --git a/tests/standalone/io/file_read_special_device_test.dart b/tests/standalone/io/file_read_special_device_test.dart
index c32db08841aef818375657f71a97dab2e414efe6..d9880f346aa8284ca2a678e25894c283fdc4d31c 100644
--- a/tests/standalone/io/file_read_special_device_test.dart
+++ b/tests/standalone/io/file_read_special_device_test.dart
@@ -6,10 +6,9 @@ import 'package:expect/expect.dart';
import 'dart:io';
void openAndWriteScript(String script) {
- var options = new Options();
- var dir = new Path(options.script).directoryPath;
+ var dir = new Path(Platform.script).directoryPath;
script = "$dir/$script";
- var executable = options.executable;
+ var executable = Platform.executable;
var file = script; // Use script as file.
Process.start("bash", ["-c", "$executable $script < $file"]).then((process) {
process.exitCode
« no previous file with comments | « tests/standalone/io/dart_std_io_pipe_test.dart ('k') | tests/standalone/io/file_read_stdio_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698