Index: tests/standalone/io/windows_environment_test.dart |
diff --git a/tests/standalone/io/windows_environment_test.dart b/tests/standalone/io/windows_environment_test.dart |
index 222443289e3e23894be5d77ad58494cb7f22dc77..1812c2563df93e160b26dab79eeb5f44b585414f 100644 |
--- a/tests/standalone/io/windows_environment_test.dart |
+++ b/tests/standalone/io/windows_environment_test.dart |
@@ -17,7 +17,7 @@ set SCRIPTDIR=%~dp0 |
"""); |
var options = new Options(); |
var dart = options.executable; |
- var scriptDir = new Path.fromNative(options.script).directoryPath; |
+ var scriptDir = new Path(options.script).directoryPath; |
var script = scriptDir.append('windows_environment_script.dart'); |
Process.run('cmd', |
['/c', funkyFile.name, dart, script.toNativePath()]).then((p) { |