diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-10-04 06:17:00 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-10-04 06:26:00 +0400 |
commit | 6f1971c61a9c1a42e6a2cf73510627ee252a2b61 (patch) | |
tree | f79773eb4dcfa867dc6a7ea41b91521219b231c3 /test/tap/url-dependencies.js | |
parent | 0ce6a3752fa9119298df15671254db6bc1d8e64c (diff) |
spacing cleanup
Diffstat (limited to 'test/tap/url-dependencies.js')
-rw-r--r-- | test/tap/url-dependencies.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/tap/url-dependencies.js b/test/tap/url-dependencies.js index 77b39723c..a77b3d380 100644 --- a/test/tap/url-dependencies.js +++ b/test/tap/url-dependencies.js @@ -12,10 +12,10 @@ var mockRoutes = { } } -test("url-dependencies: download first time", function(t) { +test("url-dependencies: download first time", function (t) { cleanup() - performInstall(t, function(output){ + performInstall(t, function (output){ if (!tarballWasFetched(output)){ t.fail("Tarball was not fetched") } else { @@ -25,11 +25,11 @@ test("url-dependencies: download first time", function(t) { }) }) -test("url-dependencies: do not download subsequent times", function(t) { +test("url-dependencies: do not download subsequent times", function (t) { cleanup() - performInstall(t, function(){ - performInstall(t, function(output){ + performInstall(t, function () { + performInstall(t, function (output) { if (tarballWasFetched(output)){ t.fail("Tarball was fetched second time around") } else { @@ -45,7 +45,7 @@ function tarballWasFetched(output){ } function performInstall (t, cb) { - mr({port: common.port, mocks: mockRoutes}, function(s){ + mr({port: common.port, mocks: mockRoutes}, function (s) { var opts = { cwd : pkg, env: { @@ -58,7 +58,7 @@ function performInstall (t, cb) { PATH: process.env.PATH } } - common.npm(["install"], opts, function(err, code, stdout, stderr) { + common.npm(["install"], opts, function (err, code, stdout, stderr) { t.ifError(err, "install success") t.notOk(code, "npm install exited with code 0") s.close() |