Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-07-29 09:05:04 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-07-29 09:05:04 +0400
commit57f996233fe253b1878e8c0b818972425ca7c2a9 (patch)
tree1234064166a1cad09441c3b0556cb013e6fd6165 /test/basic.js
parent6db735e036306cc506d7497b55e4b7f77fdde4ba (diff)
fix command line test
Diffstat (limited to 'test/basic.js')
-rw-r--r--test/basic.js4
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()
})