We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6ef21c commit 9362a70Copy full SHA for 9362a70
test/parallel/test-child-process-cwd.js
@@ -54,7 +54,7 @@ function testCwd(options, expectPidType, expectCode = 0, expectData) {
54
child.on('close', common.mustCall(function() {
55
if (expectData) {
56
// In Windows, compare without considering case
57
- if (process.platform === 'win32') {
+ if (common.isWindows) {
58
assert.strictEqual(data.trim().toLowerCase(), expectData.toLowerCase());
59
} else {
60
assert.strictEqual(data.trim(), expectData);
0 commit comments