FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: improve tests for test-http-url.parse by starkwang · Pull Request #18523 · nodejs/node · GitHub

/ node Public

test: improve tests for test-http-url.parse - #18523

Closed
starkwang wants to merge 2 commits into
nodejs:masterfrom
starkwang:improve-http-url-test
Closed

test: improve tests for test-http-url.parse#18523
starkwang wants to merge 2 commits into
nodejs:masterfrom
starkwang:improve-http-url-test

Conversation

starkwang commented Feb 2, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

Improve or refactor some tests:

  • remove unused parameters.
  • convert assert.throws into using common.expectsError.
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

nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 2, 2018
'mailto:asdf@asdf.com',
'ftp://www.example.com',
'javascript:alert(\'hello\');',
'xmpp:isaacschlueter@jabber.org',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

would prefer to remove the real persons address here and use a generic one.

maclover7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM with @jasnell's comment addressed, and if CI is happy.

Copy link
Copy Markdown
Contributor

@starkwang Just curious, does this help at all with #18430?

Copy link
Copy Markdown
Contributor Author

@maclover7 I'm not sure 😥. This PR is not aimed at the flaky test.

Copy link
Copy Markdown
Contributor

@starkwang no problem, just saw the test was changed in this PR and was hopeful :)

BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 3, 2018

BridgeAR commented Feb 3, 2018

Copy link
Copy Markdown
Member

CI https://ci.nodejs.org/job/node-test-pull-request/12920/

@starkwang please always trigger a CI after opening a PR :-)

Copy link
Copy Markdown
Contributor Author

Landed in 4a881e0

starkwang closed this Feb 6, 2018
starkwang added a commit that referenced this pull request Feb 6, 2018
PR-URL: #18523
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18523
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18523
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18523
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins mentioned this pull request Feb 21, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
PR-URL: nodejs#18523
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL