-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add test for fsPromises.lchmod #20584
Conversation
70ef9c2
to
1d85905
Compare
CI completely failed on this one. |
test/parallel/test-fs-promises.js
Outdated
await symlink(newPath, newLink); | ||
await lchmod(newLink, newMode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lchmod
is Only available on macOS
: https://nodejs.org/dist/latest-v10.x/docs/api/fs.html#fs_fs_lchmod_path_mode_callback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it. Thank you for your review.
2f802a0
to
4437388
Compare
To increase test coverage for fs/promises, add test for fsPromises.lchmod.
4437388
to
ea2a7c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
To increase test coverage for fs.promises by adding a test for lchmod. PR-URL: nodejs#20584 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Landed in 6558dcb 🎉 |
To increase test coverage for fs.promises by adding a test for lchmod. PR-URL: #20584 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
To increase test coverage for fs/promises,
add test for fsPromises.lchmod.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes