diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-07-29 09:05:04 +0400 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-07-29 09:05:04 +0400 |
commit | 57f996233fe253b1878e8c0b818972425ca7c2a9 (patch) | |
tree | 1234064166a1cad09441c3b0556cb013e6fd6165 /test/basic.js | |
parent | 6db735e036306cc506d7497b55e4b7f77fdde4ba (diff) |
fix command line test
Diffstat (limited to 'test/basic.js')
-rw-r--r-- | test/basic.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/basic.js b/test/basic.js index dc6ac75..0013650 100644 --- a/test/basic.js +++ b/test/basic.js @@ -17,8 +17,8 @@ test('Module usage (sanity check)', function (t) { }) test('Command line usage (sanity check)', function (t) { - var bin = __dirname + '/../bin/cmd.js' - cp.exec(bin, function (err, code) { + var bin = __dirname + '/../bin/cmd.js --help' + cp.exec(bin, function (err) { t.error(err) // no error, exit code 0 t.end() }) |