Index: tests/standalone/io/process_non_ascii_test.dart |
diff --git a/tests/standalone/io/process_non_ascii_test.dart b/tests/standalone/io/process_non_ascii_test.dart |
index 020b07e075f390490dfa14b3bafcdb3209a6d468..92e3a8bb031abdff959f23abe400030b73a2b09f 100644 |
--- a/tests/standalone/io/process_non_ascii_test.dart |
+++ b/tests/standalone/io/process_non_ascii_test.dart |
@@ -25,12 +25,11 @@ main() { |
"""); |
var nonAsciiTxtFile = new File('${nonAsciiDir.path}/æøå.txt'); |
nonAsciiTxtFile.writeAsStringSync('æøå'); |
- var options = new ProcessOptions(); |
- options.workingDirectory = nonAsciiDir.path; |
var script = nonAsciiFile.path; |
- Process.run(executable, [script], options).then((result) { |
- Expect.equals(0, result.exitCode); |
- tempDir.deleteSync(recursive: true); |
- port.close(); |
- }); |
+ Process.run(executable, [script], workingDirectory: nonAsciiDir.path) |
+ .then((result) { |
+ Expect.equals(0, result.exitCode); |
+ tempDir.deleteSync(recursive: true); |
+ port.close(); |
+ }); |
} |