Browse Source

test: fix use of `common` before required

PR-URL: https://github.com/nodejs/node/pull/2685
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
v5.x
Rod Vagg 10 years ago
parent
commit
30e76c59cd
  1. 9
      test/pummel/test-keep-alive.js

9
test/pummel/test-keep-alive.js

@ -1,8 +1,4 @@
'use strict';
if (common.isWindows) {
console.log('1..0 # Skipped: no `wrk` on windows');
return;
}
// This test requires the program 'wrk'
var common = require('../common');
@ -12,6 +8,11 @@ var http = require('http');
var path = require('path');
var url = require('url');
if (common.isWindows) {
console.log('1..0 # Skipped: no `wrk` on windows');
return;
}
var body = 'hello world\n';
var server = http.createServer(function(req, res) {
res.writeHead(200, {

Loading…
Cancel
Save