Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-10-04 06:17:00 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-10-04 06:26:00 +0400
commit6f1971c61a9c1a42e6a2cf73510627ee252a2b61 (patch)
treef79773eb4dcfa867dc6a7ea41b91521219b231c3 /test/tap/url-dependencies.js
parent0ce6a3752fa9119298df15671254db6bc1d8e64c (diff)
spacing cleanup
Diffstat (limited to 'test/tap/url-dependencies.js')
-rw-r--r--test/tap/url-dependencies.js14
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()