Skip to content

Commit

Permalink
Fix platform executable test.
Browse files Browse the repository at this point in the history
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//1175923002.
  • Loading branch information
Anders Johnsen committed Jun 10, 2015
1 parent f5db566 commit 5cc8fca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/standalone/io/platform_executable_test.dart
Expand Up @@ -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': ''});
}
Expand Down

0 comments on commit 5cc8fca

Please sign in to comment.