Lines Matching refs:errObj
11 const errObj = { variable
17 assert.throws(() => fs.fchmod(input), errObj);
18 assert.throws(() => fs.fchmodSync(input), errObj);
23 const errObj = { variable
26 assert.throws(() => fs.fchmod(1, input), errObj);
27 assert.throws(() => fs.fchmodSync(1, input), errObj);
35 const errObj = { variable
41 assert.throws(() => fs.fchmod(input), errObj);
42 assert.throws(() => fs.fchmodSync(input), errObj);
46 const errObj = { variable
53 assert.throws(() => fs.fchmod(1, input), errObj);
54 assert.throws(() => fs.fchmodSync(1, input), errObj);
58 const errObj = { variable
64 assert.throws(() => fs.fchmod(input), errObj);
65 assert.throws(() => fs.fchmodSync(input), errObj);
66 errObj.message = errObj.message.replace('fd', 'mode');
67 assert.throws(() => fs.fchmod(1, input), errObj);
68 assert.throws(() => fs.fchmodSync(1, input), errObj);
72 const errObj = { variable
78 assert.throws(() => fs.fchmod(input), errObj);
79 assert.throws(() => fs.fchmodSync(input), errObj);
80 errObj.message = errObj.message.replace('fd', 'mode');
81 assert.throws(() => fs.fchmod(1, input), errObj);
82 assert.throws(() => fs.fchmodSync(1, input), errObj);