diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2016-10-25 17:07:19 -0700 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-11-04 17:51:05 -0400 |
commit | 379097850d714494b3cfb92803d79d9999c983ef (patch) | |
tree | 08fc64801758d6239872540e05e0e6952cd40c8c /deps/npm/test/tap/bitbucket-shortcut-package.js | |
parent | 1a55e9a5672ec654a6cfdd694c20b7067368f5e9 (diff) | |
download | android-node-v8-379097850d714494b3cfb92803d79d9999c983ef.tar.gz android-node-v8-379097850d714494b3cfb92803d79d9999c983ef.tar.bz2 android-node-v8-379097850d714494b3cfb92803d79d9999c983ef.zip |
deps: upgrade npm to 3.10.9
PR-URL: https://github.com/nodejs/node/pull/9286
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/test/tap/bitbucket-shortcut-package.js')
-rw-r--r-- | deps/npm/test/tap/bitbucket-shortcut-package.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/bitbucket-shortcut-package.js b/deps/npm/test/tap/bitbucket-shortcut-package.js index 69cfe6c205..37fe57950c 100644 --- a/deps/npm/test/tap/bitbucket-shortcut-package.js +++ b/deps/npm/test/tap/bitbucket-shortcut-package.js @@ -35,10 +35,10 @@ test('bitbucket-shortcut', function (t) { 'child_process': { 'execFile': function (cmd, args, options, cb) { process.nextTick(function () { - if (args[0] !== 'clone') return cb(null, '', '') + if (args.indexOf('clone') === -1) return cb(null, '', '') var cloneUrl = cloneUrls.shift() if (cloneUrl) { - t.is(args[3], cloneUrl[0], cloneUrl[1]) + t.is(args[args.length - 2], cloneUrl[0], cloneUrl[1]) } else { t.fail('too many attempts to clone') } |