Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2ffb21b

Browse filesBrowse files
committed
test: fix use of common before required
PR-URL: #2685 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent e68c7ec commit 2ffb21b
Copy full SHA for 2ffb21b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-4
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/pummel/test-keep-alive.js
+5-4Lines changed: 5 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.