Skip to content

Conversation

watilde
Copy link
Contributor

@watilde watilde commented Feb 25, 2017

Test cases:

  • Cover untested branch in the state machine with the strings that its first letter is + in the key/value.
  • qs.unescapeBuffer shouldn't decode + to space.

This test increases the coverage of querystring.js:

The following branches will be skipped:

Checklist
  • make -j4 test
  • tests are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

+ Cover untested branch in the state machine with the string
  that its first letter is `+` in the key/value.
+ `qs.unescapeBuffer` shouldn't decode `+` to space.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 25, 2017
@hiroppy hiroppy added the querystring Issues and PRs related to the built-in querystring module. label Feb 25, 2017
@jasnell
Copy link
Member

jasnell commented Feb 27, 2017

@addaleax
Copy link
Member

addaleax commented Mar 1, 2017

Landed in acc3a80

@addaleax addaleax closed this Mar 1, 2017
addaleax pushed a commit that referenced this pull request Mar 1, 2017
+ Cover untested branch in the state machine with the string
  that its first letter is `+` in the key/value.
+ `qs.unescapeBuffer` shouldn't decode `+` to space.

PR-URL: #11551
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@watilde watilde deleted the test/querystring branch March 1, 2017 18:27
@evanlucas
Copy link
Contributor

This is not landing cleanly on v7.x-staging. Mind submitting a backport PR?

@gibfahn
Copy link
Member

gibfahn commented Jun 17, 2017

Should this be backported to v6.x-staging? If yes please follow the guide and raise a backport PR, if no let me know or add the dont-land-on label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
querystring Issues and PRs related to the built-in querystring module. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants