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:
Sakthipriyan Vairamani committed 2015-07-31 00:29:36 +05:30
1 parent fa98b97171
commit d5ab92bcc1
66 files changed
+114 -132

No files matched your search

+1 -1
View File
@@ -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);