| 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 0340e64faca0bf5058de01848f923c8f732fffa3..1b6bce377de320ef95678ddda08efb6fb043792d 100644
|
| --- a/tests/standalone/io/platform_executable_test.dart
|
| +++ b/tests/standalone/io/platform_executable_test.dart
|
| @@ -46,8 +46,9 @@ void testDartExecShouldNotBeInCurrentDir() {
|
| void testShouldFailOutsidePath() {
|
| var threw = false;
|
| try {
|
| - Process.runSync(platformExeName, [platformExeName],
|
| - includeParentEnvironment: false, environment: {_SCRIPT_KEY: 'yes'});
|
| + Process.runSync(platformExeName, ['--version'],
|
| + includeParentEnvironment: false,
|
| + environment: {_SCRIPT_KEY: 'yes', 'PATH': ''});
|
| } catch (_) {
|
| threw = true;
|
| }
|
|
|