| Index: tests/standalone/io/regress_7679_test.dart
|
| diff --git a/tests/standalone/io/regress_7679_test.dart b/tests/standalone/io/regress_7679_test.dart
|
| index dba91ed9ad414a403fb210fd6fd742a586d02430..30b45d37f9ad86f5405a815cc596df9dfaf5c264 100644
|
| --- a/tests/standalone/io/regress_7679_test.dart
|
| +++ b/tests/standalone/io/regress_7679_test.dart
|
| @@ -34,11 +34,10 @@ main() {
|
| });
|
| }
|
| """);
|
| - ProcessOptions options = new ProcessOptions();
|
| - options.workingDirectory = temp.path;
|
| String executable = new File(new Options().executable).fullPathSync();
|
| - Process.run(executable, ['script.dart'], options).then((result) {
|
| - temp.deleteSync(recursive: true);
|
| - Expect.equals(0, result.exitCode);
|
| - });
|
| + Process.run(executable, ['script.dart'], workingDirectory: temp.path)
|
| + .then((result) {
|
| + temp.deleteSync(recursive: true);
|
| + Expect.equals(0, result.exitCode);
|
| + });
|
| }
|
|
|