-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Using assert.strictEqual instead of equal #9950
Conversation
Please follow the commit message guidelines here. |
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.
Code changes LGTM. Commits need to be squashed and formatted to meet commit guidelines.
|
||
assert.ok(typeof home === 'string'); | ||
assert.ok(home.indexOf(path.sep) !== -1); | ||
assert.strictEqual(typeof home , 'string'); |
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.
No need for the indent here, or the space before the comma.
Hmmm...actually, it might not even be needed once the merge conflict is done. Let me do that first and see if there's still an issue... |
@cjihrig With the rebase against master, the issue you commented on is now gone. In fact, the change set for this PR is now down to just two lines. Can you confirm that it looks OK to you and update your code review appropriately? |
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 ✅
Use assert.strictEqual instead of assert.equal. PR-URL: nodejs#9950 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Landed in dd98649. |
Use assert.strictEqual instead of assert.equal. PR-URL: #9950 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Use assert.strictEqual instead of assert.equal. PR-URL: #9950 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Use assert.strictEqual instead of assert.equal. PR-URL: #9950 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Use assert.strictEqual instead of assert.equal. PR-URL: #9950 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test
Description of change