diff options
Diffstat (limited to 'test/parallel/test-child-process-cwd.js')
-rw-r--r-- | test/parallel/test-child-process-cwd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-cwd.js b/test/parallel/test-child-process-cwd.js index 5d3f0d9496..e0e83b6007 100644 --- a/test/parallel/test-child-process-cwd.js +++ b/test/parallel/test-child-process-cwd.js @@ -38,7 +38,7 @@ function testCwd(options, forCode, forData) { } // Assume these exist, and 'pwd' gives us the right directory back -if (process.platform == 'win32') { +if (common.isWindows) { testCwd({cwd: process.env.windir}, 0, process.env.windir); testCwd({cwd: 'c:\\'}, 0, 'c:\\'); } else { |