-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
test: update test-fs-write-file #10030
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
Conversation
@radelmann May I kindly ask you to format the commit message as described in CONTRIBUTING guidelines. |
0e81222
to
20941b1
Compare
test/parallel/test-fs-write-file.js
Outdated
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.
While you're here, would you mind replacing all the if (e) throw e;
checks with assert.ifError(e);
?
Changed all instances of var to either const or let. Changed all instances of assert.equal() to assert.strictEqual(). Replaced all error checks with assert.ifError(e).
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 if CI is ✅
Landed in f23dc6e4e597acb4ddae97b307a30c5b277054c0. Thanks for the contribution! 🎉 |
Replaced all error checks with assert.ifError(e). PR-URL: nodejs#10030 Reviewed-By: Rich Trott <[email protected]>
Replaced all error checks with assert.ifError(e). PR-URL: #10030 Reviewed-By: Rich Trott <[email protected]>
Replaced all error checks with assert.ifError(e). PR-URL: nodejs#10030 Reviewed-By: Rich Trott <[email protected]>
Replaced all error checks with assert.ifError(e). PR-URL: nodejs#10030 Reviewed-By: Rich Trott <[email protected]>
Replaced all error checks with assert.ifError(e). PR-URL: #10030 Reviewed-By: Rich Trott <[email protected]>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test
Description of change
var
to eitherconst
orlet
.assert.equal()
toassert.strictEqual()
.if (e) throw e
checks withassert.ifError(e)
.