Uh oh!
There was an error while loading. Please reload this page.
test: add two test cases for querystring - #11481
Conversation
mscdex
commented
Feb 21, 2017
I think just using 'test' for the subsystem in the first line of the commit is enough, as no change to the actual |
Ahh ok, now the tagging rule becomes apparent to me. Thanks! |
+ Check an empty substring: In `querystring`, if the `maxKeys` is 1 and the state machine finds an empty substring between separators, it should return an empty object. + Test invalid encoded strings: If provided string is an invalid encoded string in `query.parse`, it will not be encoded.
ca83f15 to
6913df6Compare+ Check an empty substring: In `querystring`, if the `maxKeys` is 1 and the state machine finds an empty substring between separators, it should return an empty object. + Test invalid encoded strings: If provided string is an invalid encoded string in `query.parse`, it will not be encoded. PR-URL: #11481 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell
commented
Feb 24, 2017
@addaleax ... just fyi, I was landing this PR just as your review came in so you're not listed on the reviewers |
jasnell
commented
Feb 24, 2017
Landed in dd2e135 |
@jasnell guess what I was just going to push to master! 😄 |
italoacasas
commented
Feb 25, 2017
not landing in |
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 |
watilde
commented
Jun 18, 2017
Since this update was related to the breaking change of the querystring in v8.x, I replaced |
This test will improve
querystringcoverage:The following lines will be called with the cases:
node/lib/querystring.js
Line 332 in 88035bc
node/lib/querystring.js
Line 399 in 88035bc
Checklist
make -j4 testAffected core subsystem(s)
test