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 f3a5c058732bcdc50a0a3efe9de017fc7f438c77..d2698c24cb90e4ead1cb6419cdb1e04384077d5a 100644 |
--- a/tests/standalone/io/windows_environment_test.dart |
+++ b/tests/standalone/io/windows_environment_test.dart |
@@ -18,11 +18,9 @@ set SCRIPTDIR=%~dp0 |
%1 %2 |
"""); |
var dart = Platform.executable; |
- var script = Platform.script |
- .resolve('windows_environment_script.dart') |
- .toFilePath(); |
- Process.run('cmd', |
- ['/c', funkyFile.path, dart, script]).then((p) { |
+ var script = |
+ Platform.script.resolve('windows_environment_script.dart').toFilePath(); |
+ Process.run('cmd', ['/c', funkyFile.path, dart, script]).then((p) { |
if (0 != p.exitCode) throw "Exit code not 0"; |
tempDir.deleteSync(recursive: true); |
}); |