diff options
Diffstat (limited to 'test/parallel/test-child-process-uid-gid.js')
-rw-r--r-- | test/parallel/test-child-process-uid-gid.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-uid-gid.js b/test/parallel/test-child-process-uid-gid.js index ec2cb9a319..621884cea6 100644 --- a/test/parallel/test-child-process-uid-gid.js +++ b/test/parallel/test-child-process-uid-gid.js @@ -6,12 +6,12 @@ const expectedError = common.isWindows ? /\bENOTSUP\b/ : /\bEPERM\b/; if (common.isWindows || process.getuid() !== 0) { assert.throws(() => { - spawn('echo', ['fhqwhgads'], {uid: 0}); + spawn('echo', ['fhqwhgads'], { uid: 0 }); }, expectedError); } if (common.isWindows || !process.getgroups().some((gid) => gid === 0)) { assert.throws(() => { - spawn('echo', ['fhqwhgads'], {gid: 0}); + spawn('echo', ['fhqwhgads'], { gid: 0 }); }, expectedError); } |