Skip to content

Commit

Permalink
test: remove the now redundent combined github+bitbucket test
Browse files Browse the repository at this point in the history
This dates back to before npm@2 integrated the new npa and added
new entirely separate tests for these.

PR-URL: npm#8922
  • Loading branch information
iarna committed Jul 13, 2015
1 parent e13e828 commit 1819e4b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/tap/hosted-shortcut.js → test/tap/github-shortcut.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
['[email protected]:foo/private.git', 'GitHub shortcuts try SSH third'],
['https://bitbucket.org/foo/private.git', 'bitbucket shortcuts try HTTPS URLs first'],
['[email protected]:foo/private.git', 'bitbucket shortcuts try SSH second']
['[email protected]:foo/private.git', 'GitHub shortcuts try SSH third']
]
var npm = requireInject.installGlobally('../../lib/npm.js', {
'child_process': {
Expand Down Expand Up @@ -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()
})
})
})
Expand Down

0 comments on commit 1819e4b

Please sign in to comment.