-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: favor ===
over ==
in test-timers.js
#8131
Conversation
Love the PR title. ;) LGTM… how bad would it be to do all of those in a bulk update? |
==
over ==
in test-timers.js===
over ==
in test-timers.js
Use `===` instead of `==` in pummel/test-timers.js
@addaleax asked:
Hard to say. Might be fine. Or it might be hard to review because it will be a mix of:
It will probably be more straightforward in the tests than in the instances in lib. I was pondering both doing one big PR and also going the other way and suggesting that people do individual files as a good first contribution. |
@Trott Mh yeah, you can probably judge that best. It just seems like a lot of overhead on your part to me. :) |
LGTM |
2 similar comments
LGTM |
LGTM |
Use `===` instead of `==` in pummel/test-timers.js PR-URL: nodejs#8131 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in d52ceb4 |
Use `===` instead of `==` in pummel/test-timers.js PR-URL: #8131 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use `===` instead of `==` in pummel/test-timers.js PR-URL: #8131 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use `===` instead of `==` in pummel/test-timers.js PR-URL: #8131 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use `===` instead of `==` in pummel/test-timers.js PR-URL: #8131 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test timers
Description of change
Use
===
instead of==
in pummel/test-timers.js