summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/outdated-notarget.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/outdated-notarget.js')
-rw-r--r--deps/npm/test/tap/outdated-notarget.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/test/tap/outdated-notarget.js b/deps/npm/test/tap/outdated-notarget.js
index 782f6f7d59..f1032eab37 100644
--- a/deps/npm/test/tap/outdated-notarget.js
+++ b/deps/npm/test/tap/outdated-notarget.js
@@ -11,12 +11,12 @@ var pkg = path.resolve(__dirname, "outdated-notarget")
var cache = path.resolve(pkg, "cache")
var mr = require("npm-registry-mock")
-test("outdated-target: if no viable version is found, show error", function(t) {
+test("outdated-target: if no viable version is found, show error", function (t) {
t.plan(1)
setup()
- mr({port: common.port}, function(s) {
- npm.load({ cache: cache, registry: common.registry}, function() {
- npm.commands.update(function(er) {
+ mr({port: common.port}, function (s) {
+ npm.load({ cache: cache, registry: common.registry}, function () {
+ npm.commands.update(function (er) {
t.equal(er.code, "ETARGET")
s.close()
t.end()
@@ -25,7 +25,7 @@ test("outdated-target: if no viable version is found, show error", function(t) {
})
})
-test("cleanup", function(t) {
+test("cleanup", function (t) {
process.chdir(osenv.tmpdir())
rimraf.sync(pkg)
t.end()