summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/spawn-enoent-help.js
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-10-09 23:13:57 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-10-22 13:56:09 -0400
commit41923c0c0795cfa6c465821387fca88fe8811367 (patch)
tree853587bc888fde98f714d72050edceb4785145de /deps/npm/test/tap/spawn-enoent-help.js
parent9b8886446dd183cee26adf9c603f8e1cd5da74bd (diff)
downloadandroid-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.tar.gz
android-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.tar.bz2
android-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.zip
deps: upgrade npm to 3.3.6
PR-URL: https://github.com/nodejs/node/pull/3310 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/test/tap/spawn-enoent-help.js')
-rw-r--r--deps/npm/test/tap/spawn-enoent-help.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/deps/npm/test/tap/spawn-enoent-help.js b/deps/npm/test/tap/spawn-enoent-help.js
index 70fb078faf..716f6ebd15 100644
--- a/deps/npm/test/tap/spawn-enoent-help.js
+++ b/deps/npm/test/tap/spawn-enoent-help.js
@@ -1,25 +1,25 @@
-var path = require("path")
-var test = require("tap").test
-var rimraf = require("rimraf")
-var mkdirp = require("mkdirp")
-var common = require("../common-tap.js")
+var path = require('path')
+var test = require('tap').test
+var rimraf = require('rimraf')
+var mkdirp = require('mkdirp')
+var common = require('../common-tap.js')
-var pkg = path.resolve(__dirname, "spawn-enoent-help")
+var pkg = path.resolve(__dirname, 'spawn-enoent-help')
-test("setup", function (t) {
+test('setup', function (t) {
rimraf.sync(pkg)
mkdirp.sync(pkg)
t.end()
})
-test("enoent help", function (t) {
- common.npm(["help", "config"], {
+test('enoent help', function (t) {
+ common.npm(['help', 'config'], {
cwd: pkg,
env: {
- PATH: "",
- Path: "",
- "npm_config_loglevel": "warn",
- "npm_config_viewer": "woman"
+ PATH: '',
+ Path: '',
+ 'npm_config_loglevel': 'warn',
+ 'npm_config_viewer': 'woman'
}
}, function (er, code, sout, serr) {
t.similar(serr, /Check if the file 'emacsclient' is present./)
@@ -28,7 +28,7 @@ test("enoent help", function (t) {
})
})
-test("clean", function (t) {
+test('clean', function (t) {
rimraf.sync(pkg)
t.end()
})