diff options
author | Rebecca Turner <me@re-becca.org> | 2015-07-13 08:40:16 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-13 08:47:14 +0300 |
commit | 1819e4b996156c1c89addeac8c0cd0a0b58d19f8 (patch) | |
tree | 1b38803ef9bad63009acc31d992613e2b4ac4cea /test | |
parent | e13e828a6f09688c2c7497dd457ca255ed95c6d4 (diff) |
test: remove the now redundent combined github+bitbucket test
This dates back to before npm@2 integrated the new npa and added
new entirely separate tests for these.
PR-URL: https://github.com/npm/npm/pull/8922
Diffstat (limited to 'test')
-rw-r--r-- | test/tap/github-shortcut.js (renamed from test/tap/hosted-shortcut.js) | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/tap/hosted-shortcut.js b/test/tap/github-shortcut.js index a4e83b9c9..2eaa4eb9d 100644 --- a/test/tap/hosted-shortcut.js +++ b/test/tap/github-shortcut.js @@ -26,9 +26,7 @@ test('github-shortcut', function (t) { var cloneUrls = [ ['git://github.com/foo/private.git', 'GitHub shortcuts try git URLs first'], ['https://github.com/foo/private.git', 'GitHub shortcuts try HTTPS URLs second'], - ['git@github.com:foo/private.git', 'GitHub shortcuts try SSH third'], - ['https://bitbucket.org/foo/private.git', 'bitbucket shortcuts try HTTPS URLs first'], - ['git@bitbucket.org:foo/private.git', 'bitbucket shortcuts try SSH second'] + ['git@github.com:foo/private.git', 'GitHub shortcuts try SSH third'] ] var npm = requireInject.installGlobally('../../lib/npm.js', { 'child_process': { @@ -57,9 +55,7 @@ test('github-shortcut', function (t) { npm.load(opts, function (er) { t.ifError(er, 'npm loaded without error') npm.commands.install(['foo/private'], function (er, result) { - npm.commands.install(['bitbucket:foo/private'], function (er, result) { - t.end() - }) + t.end() }) }) }) |