test: update var to let const in tests#9917
test: update var to let const in tests#9917GreenPioneer wants to merge 1 commit intonodejs:masterfrom
Conversation
|
In the task i was asked to also change |
|
That's correct. |
There was a problem hiding this comment.
Yea it can & it should be . I ll Fix that now
There was a problem hiding this comment.
Nit: would you mind moving this require after the hasCrypto check?
|
@lpinca Updated everything to your points |
There was a problem hiding this comment.
@GreenPioneer sorry to pester, this can also be moved after the hasCrypto check.
|
Hey @lpinca its all good, Id rather do it right. Let me know if there is anything else you want done on these files. |
|
@GreenPioneer Awesome, LGTM. |
jasnell
left a comment
There was a problem hiding this comment.
LGTM. @GreenPioneer, if you would, please squash the commits down to either a single commit or one commit per file changed. Thank you!
fhinkel
left a comment
There was a problem hiding this comment.
Thanks! LGTM with commits squashed.
Also updating assertStrict and moving the assert required.
|
All Squashed |
Also updating assertStrict and moving the assert required. PR-URL: #9917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
|
Landed in a1bd070. Thank you for the PR and for participating in the code-and-learn! |
|
@Fishrock123 & @jasnell thank you for helping me out at the event. Really enjoyed it !!! |
Also updating assertStrict and moving the assert required. PR-URL: #9917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Also updating assertStrict and moving the assert required. PR-URL: nodejs#9917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Also updating assertStrict and moving the assert required. PR-URL: #9917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
Test - test/parallel/test-tis-on-empty-socket
Description of change
Updated the var to const and lets in test-tis-on-empty-socket. This is coming from node interactive - code & learn