test & util: Add a missing test and a conditonal teller#21455
Conversation
|
@mscdex:At last I abandoned re-writing after many tests about the efficiency but I changed the title and submit to add a missing test for utils. Plz have a review. Thanks anyway! |
|
Lite CI: https://ci.nodejs.org/job/node-test-pull-request-lite/893/ @Maledong you might want to associate your commit email with your account as otherwise you won't get proper credit for contributing to the project from Github. |
|
OK, I've reset my accout with a new one verified by GitHub. And everything goes well with me. |
|
Thanks anyway! |
1) Add missing unit tests by `ucs-2` in different kinds of cases. 2) Add missing unit tests by `usc-2` in different kinds of cases. 3) Fix a bug:We cannot find `ucs-2` in `case 5`'s `if` condition after `toLowerCase()`
|
Jenkins failed to fetch the source code on macOS. Just to be safe, a new CI: https://ci.nodejs.org/job/node-test-pull-request/15632/ |
|
@joyeecheung & @apapirovski : |
|
Adding |
|
Re-running Windows only: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19156/ |
1) Add missing unit tests by `ucs-2` in different kinds of cases. 2) Add missing unit tests by `usc-2` in different kinds of cases. 3) Fix a bug:We cannot find `ucs-2` in `case 5`'s `if` condition after `toLowerCase()` PR-URL: nodejs#21455 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
|
Landed in a478259. Thanks for the contribution! 🎉 |
|
Thanks anyway. |
1) Add missing unit tests by `ucs-2` in different kinds of cases. 2) Add missing unit tests by `usc-2` in different kinds of cases. 3) Fix a bug:We cannot find `ucs-2` in `case 5`'s `if` condition after `toLowerCase()` PR-URL: #21455 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
ucs-2in different kinds of cases.usc-2in different kinds of cases.ucs-2incase 5'sifcondition aftertoLowerCase().make -j4 test(UNIX), orvcbuild test(Windows) passes