diff options
Diffstat (limited to 'test/pummel/test-keep-alive.js')
-rw-r--r-- | test/pummel/test-keep-alive.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/pummel/test-keep-alive.js b/test/pummel/test-keep-alive.js index 26e1978691..d2387495c1 100644 --- a/test/pummel/test-keep-alive.js +++ b/test/pummel/test-keep-alive.js @@ -23,16 +23,14 @@ // This test requires the program 'wrk' const common = require('../common'); +if (common.isWindows) + common.skip('no `wrk` on windows'); + const assert = require('assert'); const spawn = require('child_process').spawn; const http = require('http'); const url = require('url'); -if (common.isWindows) { - common.skip('no `wrk` on windows'); - return; -} - const body = 'hello world\n'; const server = http.createServer(function(req, res) { res.writeHead(200, { |