Index: tests/standalone/io/process_set_exit_code_test.dart |
diff --git a/tests/standalone/io/process_set_exit_code_test.dart b/tests/standalone/io/process_set_exit_code_test.dart |
index 63476ee8154c9a8968d849db4ddfeb6c5bac745c..29baed757e481cb3a75323d2274d3100922d82e3 100644 |
--- a/tests/standalone/io/process_set_exit_code_test.dart |
+++ b/tests/standalone/io/process_set_exit_code_test.dart |
@@ -12,7 +12,7 @@ main() { |
var options = new Options(); |
var executable = options.executable; |
var script = options.script; |
- var scriptDirectory = new Path.fromNative(script).directoryPath; |
+ var scriptDirectory = new Path(script).directoryPath; |
var exitCodeScript = |
scriptDirectory.append('process_set_exit_code_script.dart'); |
Process.run(executable, [exitCodeScript.toNativePath()]).then((result) { |