diff options
Diffstat (limited to 'deps/npm/test/tap/cache-eacces-error-message.js')
-rw-r--r-- | deps/npm/test/tap/cache-eacces-error-message.js | 9 |
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) |