Skip to content

Conversation

@ghost
Copy link

@ghostghost commented Jun 22, 2018

  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().
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the util Issues and PRs related to the built-in util module. label Jun 22, 2018
@ghostghost changed the title util: Remove useless formation indicator and add a missing unit testutil: Add a missing unit test case with a type checkJun 22, 2018
@ghostghost changed the title util: Add a missing unit test case with a type checkutil: Add a missing test with a template indicator removedJun 22, 2018
@ghostghost changed the title util: Add a missing test with a template indicator removedtest: Add a missing testJun 22, 2018
@ghost
Copy link
Author

@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!

@apapirovski
Copy link
Contributor

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.

@ghostghost changed the title test: Add a missing testtest & util: Add a missing test and a conditonal tellerJun 25, 2018
@ghost
Copy link
Author

ghost commented Jun 25, 2018

OK, I've reset my accout with a new one verified by GitHub. And everything goes well with me.
@apapirovski :I see this test failed in CI. Is there anything to be fixed with? Can I restart or make a new CI test? If OK, how?
Thks anyway

@apapirovski
Copy link
Contributor

@ghost
Copy link
Author

ghost commented Jun 25, 2018

Thanks anyway!
Is there anything to change? I see that it can pass all the tests except for on mac……

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()`
@joyeecheung
Copy link
Member

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/

@ghost
Copy link
Author

ghost commented Jul 6, 2018

@joyeecheung & @apapirovski
Sorry to interrupt you both but I wanna say, since this has fixed a missing code conversion for ucs-2 and others, and this has passed all the tests, so just a reminder to merge them into your Node master if you can.
Thanks anyway!

@Trott
Copy link
Member

Trott commented Jul 8, 2018

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 8, 2018
@Trott
Copy link
Member

Trott commented Jul 8, 2018

Adding author ready so this doesn't get missed again if it's ready to land. Whoever lands it will need to edit the commit message. (test & util -> test, util:).

@Trott
Copy link
Member

Trott commented Jul 8, 2018

Trott pushed a commit to Trott/io.js that referenced this pull request Jul 8, 2018
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 <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
@Trott
Copy link
Member

Trott commented Jul 8, 2018

Landed in a478259.

Thanks for the contribution! 🎉

@TrottTrott closed this Jul 8, 2018
@ghost ghost deleted the SimplifiedFornormalizeEncoding branch July 9, 2018 03:28
@ghost
Copy link
Author

ghost commented Jul 9, 2018

Thanks anyway.

targos pushed a commit that referenced this pull request Jul 10, 2018
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 <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
@targostargos mentioned this pull request Jul 17, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@apapirovski@joyeecheung@Trott@jasnell@trivikr@nodejs-github-bot