test: swap expected and actual in assert.strictEqual#24146
test: swap expected and actual in assert.strictEqual#24146fbilbie wants to merge 1 commit intonodejs:masterfrom
Conversation
| assert.strictEqual(twoByteString.indexOf('\u03a3', -6, 'ucs2'), 4); | ||
| assert.strictEqual(twoByteString.indexOf( | ||
| Buffer.from('\u03a3', 'ucs2'), -6, 'ucs2'), 4); | ||
| assert.strictEqual(-1, twoByteString.indexOf('\u03a3', -2, 'ucs2')); |
There was a problem hiding this comment.
The order needs to be swapped for -1 too - on this line and other lines
There was a problem hiding this comment.
I thought that too, but the code an learn task was to change only a specific set of lines.
|
Hi @bilbieflorin, the author of this commit is not registered on Github (steps defined here) Either:
|
|
Hi @trivikr! The git was configured with my work email. I added it to my github account and should be displaying the author correctly now. Thanks for telling me about this! |
|
pls thumbs up for fast tracking |
|
Landed in 791ad09. Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
PR-URL: nodejs#24146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #24146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: nodejs#24146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #24146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #24146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes