Skip to content

Commit a3b43d5

Browse files
committed
fixup! fs: fix flag and mode validation
1 parent a05b66d commit a3b43d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-lchmod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ assert.throws(() => fs.lchmod(f, {}), { code: 'ERR_INVALID_CALLBACK' });
4646
assert.throws(() => fs.lchmodSync(f, input), errObj);
4747
});
4848

49-
assert.throws(() => fs.lchmod(f, '123x'), {
49+
assert.throws(() => fs.lchmod(f, '123x', common.mustNotCall()), {
5050
code: 'ERR_INVALID_ARG_VALUE'
5151
});
5252
assert.throws(() => fs.lchmodSync(f, '123x'), {

0 commit comments

Comments
 (0)