| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 970164f commit 5e09a3d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,6 +33,10 @@ if (common.isWindows) { | |||
| 33 | 33 | return; | |
| 34 | 34 | } | |
| 35 | 35 | ||
| 36 | + assert.throws(() => { | ||
| 37 | + process.setuid({}); | ||
| 38 | + }, /^TypeError: setuid argument must be a number or a string$/); | ||
| 39 | + | ||
| 36 | 40 | assert.throws(() => { | |
| 37 | 41 | process.setuid('fhqwhgadshgnsdhjsdbkhsdabkfabkveybvf'); | |
| 38 | 42 | }, /^Error: setuid user id does not exist$/); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments