mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: use common.isWindows consistently
In the tests, we use "process.platform === 'win32'" in some places. This patch replaces them with the "common.isWindows" for consistency. PR-URL: https://github.com/nodejs/io.js/pull/2269 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
1 parent
fa98b97171
commit
d5ab92bcc1
66 files changed
+114
-132
No files matched your search
@@ -54,7 +54,7 @@ server.listen(common.PORT, function() {
|
||||
'-key', join(common.fixturesDir, 'foafssl.key')];
|
||||
|
||||
// for the performance and stability issue in s_client on Windows
|
||||
if (process.platform === 'win32')
|
||||
if (common.isWindows)
|
||||
args.push('-no_rand_screen');
|
||||
|
||||
var client = spawn(common.opensslCli, args);
|
||||
|
||||
Reference in new issue
Block a user