We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970164f commit 5e09a3dCopy full SHA for 5e09a3d
test/parallel/test-process-setuid-setgid.js
@@ -33,6 +33,10 @@ if (common.isWindows) {
33
return;
34
}
35
36
+assert.throws(() => {
37
+ process.setuid({});
38
+}, /^TypeError: setuid argument must be a number or a string$/);
39
+
40
assert.throws(() => {
41
process.setuid('fhqwhgadshgnsdhjsdbkhsdabkfabkveybvf');
42
}, /^Error: setuid user id does not exist$/);
0 commit comments