| Index: tests/standalone/src/io/ProcessWorkingDirectoryTest.dart
|
| diff --git a/tests/standalone/src/io/ProcessWorkingDirectoryTest.dart b/tests/standalone/src/io/ProcessWorkingDirectoryTest.dart
|
| index db5ab41ba9701f157379a466167737db296abd4d..0c4602d37ae92ffdeec4ff7d2bbc2488d1f3dac5 100644
|
| --- a/tests/standalone/src/io/ProcessWorkingDirectoryTest.dart
|
| +++ b/tests/standalone/src/io/ProcessWorkingDirectoryTest.dart
|
| @@ -21,9 +21,11 @@ class ProcessWorkingDirectoryTest {
|
| directory.createTempSync();
|
| Expect.isTrue(directory.existsSync());
|
|
|
| + var options = new ProcessOptions();
|
| + options.workingDirectory = directory.path;
|
| Process process = new Process.start(fullTestFilePath,
|
| const ["0", "0", "99", "0"],
|
| - directory.path);
|
| + options);
|
|
|
| process.onExit = (int exitCode) {
|
| Expect.equals(exitCode, 99);
|
| @@ -42,9 +44,11 @@ class ProcessWorkingDirectoryTest {
|
| directory.createTempSync();
|
| Expect.isTrue(directory.existsSync());
|
|
|
| + var options = new ProcessOptions();
|
| + options.workingDirectory = directory.path + "/subPath";
|
| Process process = new Process.start(fullTestFilePath,
|
| const ["0", "0", "99", "0"],
|
| - directory.path + "/subPath");
|
| + options);
|
|
|
| process.onExit = (int exitCode) {
|
| Expect.fail("bad process completed");
|
|
|