Skip to content

Commit fc66eed

Browse files
committed
test: fix use of common before required
PR-URL: #2685 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 64beab0 commit fc66eed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/pummel/test-keep-alive.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
'use strict';
2-
if (common.isWindows) {
3-
console.log('1..0 # Skipped: no `wrk` on windows');
4-
return;
5-
}
62

73
// This test requires the program 'wrk'
84
var common = require('../common');
@@ -12,6 +8,11 @@ var http = require('http');
128
var path = require('path');
139
var url = require('url');
1410

11+
if (common.isWindows) {
12+
console.log('1..0 # Skipped: no `wrk` on windows');
13+
return;
14+
}
15+
1516
var body = 'hello world\n';
1617
var server = http.createServer(function(req, res) {
1718
res.writeHead(200, {

0 commit comments

Comments
 (0)