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:
Diffstat (limited to 'test/tap/ls-no-results.js')
-rw-r--r--test/tap/ls-no-results.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/tap/ls-no-results.js b/test/tap/ls-no-results.js
index 10f3ce001..9792774c6 100644
--- a/test/tap/ls-no-results.js
+++ b/test/tap/ls-no-results.js
@@ -1,11 +1,11 @@
-var test = require("tap").test
-var spawn = require("child_process").spawn
+var test = require('tap').test
+var spawn = require('child_process').spawn
var node = process.execPath
-var npm = require.resolve("../../")
-var args = [ npm, "ls", "ceci n’est pas une package" ]
-test("ls exits non-zero when nothing found", function (t) {
+var npm = require.resolve('../../')
+var args = [ npm, 'ls', 'ceci n’est pas une package' ]
+test('ls exits non-zero when nothing found', function (t) {
var child = spawn(node, args)
- child.on("exit", function (code) {
+ child.on('exit', function (code) {
t.notEqual(code, 0)
t.end()
})