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
path: root/test
diff options
context:
space:
mode:
authorDylan Greene <dylang@gmail.com>2014-07-26 18:16:06 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-09-05 05:45:49 +0400
commit9429a3d300afb069a8de1351da6fd09c63d29ac1 (patch)
treef527db82c287e8a3ed3b3aa4232285818a2492fb /test
parent890411716cb570cea266bdcc11ade80596ca7477 (diff)
remove unused code, fix bad js
Diffstat (limited to 'test')
-rw-r--r--test/tap/registry.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tap/registry.js b/test/tap/registry.js
index 0f252bb08..adcb8f48b 100644
--- a/test/tap/registry.js
+++ b/test/tap/registry.js
@@ -9,7 +9,6 @@ var path = require("path")
var ca = path.resolve(__dirname, "../../node_modules/npm-registry-couchapp")
var which = require("which")
-var hasCouch = false
which("couchdb", function(er, couch) {
if (er) {
@@ -35,7 +34,7 @@ function runTests () {
}).on("close", function (code, sig) {
if (code || sig) {
return test("need install to work", function (t) {
- t.fail("install failed with: " (code || sig))
+ t.fail("install failed with: " + (code || sig))
t.end()
})