-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: update test-debugger-client.js to use strictEqual #9857
test: update test-debugger-client.js to use strictEqual #9857
Conversation
LGTM if CI is ✅ |
@@ -25,40 +25,40 @@ p.execute('Type: connect\r\n' + | |||
'Protocol-Version: 1\r\n' + | |||
'Embedding-Host: node v0.3.3-pre\r\n' + | |||
'Content-Length: 0\r\n\r\n'); | |||
assert.equal(1, resCount); | |||
assert.strictEqual(1, resCount); |
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.
Nit: can you please swap the arguments here and throughout the rest of the file where it makes sense?
assert.strictEqual(resCount, 1);
This because the first argument is the actual
and the second is the expected
.
Feel free to ignore this :)
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.
Agreed, I've fixed up my commit to include these changes.
a7e0068
to
f6036b4
Compare
CI failure on SmartOS is unrelated. Landing! |
Landed in 4658d0c. Thanks, welcome, and congrats on your first Node.js commit, @bencripps! |
PR-URL: #9857 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #9857 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: nodejs#9857 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: nodejs#9857 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #9857 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
Only test files have been modified.
Description of change
Updated
test-debugger-client.js
to usestrictEqual
instead ofequal
for higher fidelity testing.