Skip to content

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-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jan 28, 2017
@joyeecheungjoyeecheung added the url Issues and PRs related to the legacy built-in url module. label Jan 28, 2017
Copy link
Member

@addaleaxaddaleax 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
MemberAuthor

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

Copy link
Contributor

@cjihrigcjihrig 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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
jasnell pushed a commit that referenced this pull request Jan 30, 2017
PR-URL: #11049 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@jasnell
Copy link
Member

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
MemberAuthor

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

@joyeecheungjoyeecheung deleted the refactor-url-test branch February 19, 2017 17:42
@jasnelljasnell mentioned this pull request Apr 4, 2017
@gibfahngibfahn mentioned this pull request Jun 15, 2017
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.urlIssues 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

@joyeecheung@jasnell@evanlucas@addaleax@cjihrig@gibfahn@nodejs-github-bot