diff options
-rw-r--r-- | test/simple/test-child-process-spawn-typeerror.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple/test-child-process-spawn-typeerror.js b/test/simple/test-child-process-spawn-typeerror.js index 49bc74d1a0..4fd360a3f8 100644 --- a/test/simple/test-child-process-spawn-typeerror.js +++ b/test/simple/test-child-process-spawn-typeerror.js @@ -22,8 +22,8 @@ var spawn = require('child_process').spawn, assert = require('assert'), windows = (process.platform === 'win32'), - cmd = (windows) ? 'dir' : 'ls', - invalidcmd = (windows) ? 'ls' : 'dir', + cmd = (windows) ? 'rundll32' : 'ls', + invalidcmd = 'hopefully_you_dont_have_this_on_your_machine', invalidArgsMsg = /Incorrect value of args option/, invalidOptionsMsg = /options argument must be an object/, errors = 0; |