| Index: tests/standalone/io/platform_executable_test.dart
|
| diff --git a/tests/standalone/io/platform_executable_test.dart b/tests/standalone/io/platform_executable_test.dart
|
| index 2b8af08a478326972639b71c9bcd886716f3c626..638be57d512c9cf2ad1c4235e9ef49db4ed236fc 100644
|
| --- a/tests/standalone/io/platform_executable_test.dart
|
| +++ b/tests/standalone/io/platform_executable_test.dart
|
| @@ -44,7 +44,8 @@ void testDartExecShouldNotBeInCurrentDir() {
|
| }
|
|
|
| void testShouldSucceedWithEmptyPathEnvironment() {
|
| - Process.runSync(platformExeName, ['--version'],
|
| + var command = Platform.isWindows ? 'dir' : 'ls';
|
| + Process.runSync(command, [],
|
| includeParentEnvironment: false,
|
| environment: {_SCRIPT_KEY: 'yes', 'PATH': ''});
|
| }
|
|
|