| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,4 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - if (common.isWindows) { | ||
| 3 | - console.log('1..0 # Skipped: no `wrk` on windows'); | ||
| 4 | - return; | ||
| 5 | - } | ||
| 6 | 2 | ||
| 7 | 3 | // This test requires the program 'wrk' | |
| 8 | 4 | var common = require('../common'); | |
@@ -12,6 +8,11 @@ var http = require('http'); | |||
| 12 | 8 | var path = require('path'); | |
| 13 | 9 | var url = require('url'); | |
| 14 | 10 | ||
| 11 | + if (common.isWindows) { | ||
| 12 | + console.log('1..0 # Skipped: no `wrk` on windows'); | ||
| 13 | + return; | ||
| 14 | + } | ||
| 15 | + | ||
| 15 | 16 | var body = 'hello world\n'; | |
| 16 | 17 | var server = http.createServer(function(req, res) { | |
| 17 | 18 | res.writeHead(200, { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments