Skip to content

Commit

Permalink
test: fix use of common before required
Browse files Browse the repository at this point in the history
PR-URL: #2685
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
rvagg committed Sep 6, 2015
1 parent 5424d6f commit 384effe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/pummel/test-keep-alive.js
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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, {
Expand Down

0 comments on commit 384effe

Please sign in to comment.