Skip to content

test: refactor test-http-response-statuscode - #11274

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:statuscode
Closed

test: refactor test-http-response-statuscode#11274
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:statuscode

Conversation

@Trott

@TrottTrott commented Feb 9, 2017

Copy link
Copy Markdown
Member
  • move repeated code to function
  • use strings for expected error (exposes result for [] as empty string)
  • remove unneeded common.mustCall() usage with function arguments that
    are not callbacks
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test http

* move repeated code to function
* use strings for expected error (exposes result for [] as empty string)
* remove unneeded `common.mustCall()` usage with function arguments that
are not callbacks
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Feb 9, 2017
@TrottTrott added the http Issues or PRs related to the http subsystem. label Feb 9, 2017
@Trott

Copy link
Copy Markdown
MemberAuthor

@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in dd1cf8b

@TrottTrott closed this Feb 13, 2017
Trott added a commit that referenced this pull request Feb 13, 2017
* move repeated code to function
* use strings for expected error (exposes result for [] as empty string)
* remove unneeded `common.mustCall()` usage with function arguments that
are not callbacks
PR-URL: #11274
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
@italoacasas

Copy link
Copy Markdown

@Trott this is not landing in v7 clearly, any plan to backport?

@Trott

Copy link
Copy Markdown
MemberAuthor

@italoacasas It depends on #11221 which is semver-major. I think it's OK to not land this one on 7.x.x.

krydos pushed a commit to krydos/node that referenced this pull request Feb 25, 2017
* move repeated code to function
* use strings for expected error (exposes result for [] as empty string)
* remove unneeded `common.mustCall()` usage with function arguments that
are not callbacks
PR-URL: nodejs#11274
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
@jasnelljasnell mentioned this pull request Apr 4, 2017
@Trott
Trott deleted the statuscode branch January 13, 2022 22:35
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Trott@italoacasas@jasnell@santigimeno@cjihrig@nodejs-github-bot