diff options
Diffstat (limited to 'deps/npm/node_modules/osenv/test/unix.js')
-rw-r--r-- | deps/npm/node_modules/osenv/test/unix.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/node_modules/osenv/test/unix.js b/deps/npm/node_modules/osenv/test/unix.js index f87cbfb329..94d4aaafb4 100644 --- a/deps/npm/node_modules/osenv/test/unix.js +++ b/deps/npm/node_modules/osenv/test/unix.js @@ -2,13 +2,13 @@ // pretending to be another platform is too hacky, since it breaks // how the underlying system looks up module paths and runs // child processes, and all that stuff is cached. +var tap = require('tap') + + if (process.platform === 'win32') { - console.log('TAP Version 13\n' + - '1..0\n' + - '# Skip unix tests, this is not unix\n') - return + tap.plan(0, 'Skip unix tests, this is not unix') + process.exit(0) } -var tap = require('tap') // like unix, but funny process.env.USER = 'sirUser' |