summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/cache-eacces-error-message.js
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2019-11-05 14:55:08 -0500
committerRich Trott <rtrott@gmail.com>2019-11-09 20:13:43 -0800
commit4b97c3addb246274cd7e8432edd537e0bdf60b63 (patch)
tree9f859239c3b38b04ddc58ee736bf6b2caf6008a5 /deps/npm/test/tap/cache-eacces-error-message.js
parent5f9794ea9aaaf5597974a65460e1f3069f68475f (diff)
downloadnode-new-4b97c3addb246274cd7e8432edd537e0bdf60b63.tar.gz
deps: update npm to 6.13.0
PR-URL: https://github.com/nodejs/node/pull/30271 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/npm/test/tap/cache-eacces-error-message.js')
-rw-r--r--deps/npm/test/tap/cache-eacces-error-message.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/deps/npm/test/tap/cache-eacces-error-message.js b/deps/npm/test/tap/cache-eacces-error-message.js
index aa112eba43..fe76875c3e 100644
--- a/deps/npm/test/tap/cache-eacces-error-message.js
+++ b/deps/npm/test/tap/cache-eacces-error-message.js
@@ -1,14 +1,11 @@
const npm = require('../../lib/npm.js')
const t = require('tap')
-if (process.platform === 'win32') {
- t.plan(0, 'this is a unix-only thing')
- process.exit(0)
-}
+const common = require('../common-tap.js')
-const errorMessage = require('../../lib/utils/error-message.js')
+common.skipIfWindows('this is a unix-only thing')
-const common = require('../common-tap.js')
+const errorMessage = require('../../lib/utils/error-message.js')
t.plan(1)