summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/outdated-git.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/outdated-git.js')
-rw-r--r--deps/npm/test/tap/outdated-git.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/test/tap/outdated-git.js b/deps/npm/test/tap/outdated-git.js
index 433f8b044..dda2abccc 100644
--- a/deps/npm/test/tap/outdated-git.js
+++ b/deps/npm/test/tap/outdated-git.js
@@ -12,12 +12,13 @@ mkdirp.sync(pkg + "/cache")
test("dicovers new versions in outdated", function (t) {
process.chdir(pkg)
- t.plan(3)
+ t.plan(4)
npm.load({cache: pkg + "/cache", registry: common.registry}, function () {
npm.outdated(function (er, d) {
t.equal('git', d[0][3])
t.equal('git', d[0][4])
t.equal('git://github.com/robertkowalski/foo-private.git', d[0][5])
+ t.equal('git://user:pass@github.com/robertkowalski/foo-private.git', d[1][5])
})
})
})