Skip to content
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, url: break up test-url.js #11049

Closed
wants to merge 2 commits into from

Conversation

joyeecheung
Copy link
Member

Break up test-url.js into multiple files by the functionality they test against, so they would be easier to compare with their whatwg url counterparts.

Also remove some unecessary eslint-disable max-len and format the error messages using templates(the disabling should be apply to the test cases, which might be inevitably too long, but not to the actual testing code).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test, url

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jan 28, 2017
@joyeecheung joyeecheung added the url Issues and PRs related to the legacy built-in url module. label Jan 28, 2017
Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber-stamp LGTM, this seems to make sense to me.

@joyeecheung
Copy link
Member Author

CI: https://ci.nodejs.org/job/node-test-pull-request/6098/, while waiting for more reviews.

Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamp LGTM

jasnell pushed a commit that referenced this pull request Jan 30, 2017
PR-URL: #11049
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
jasnell pushed a commit that referenced this pull request Jan 30, 2017
PR-URL: #11049
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@jasnell
Copy link
Member

jasnell commented Jan 30, 2017

Landed in 147d2a6 and 7854503

@evanlucas
Copy link
Contributor

This isn't landing cleanly on v7.x. Mind submitting a backport PR?

@joyeecheung
Copy link
Member Author

@evanlucas Looks like there is a test depending on #9292, which is semver-major, so this one can be skipped.

@evanlucas
Copy link
Contributor

@joyeecheung Thanks for checking!

@joyeecheung joyeecheung deleted the refactor-url-test branch February 19, 2017 17:42
@jasnell jasnell mentioned this pull request Apr 4, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests. url Issues and PRs related to the legacy built-in url module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants