Skip to content

Commit

Permalink
test: querystring.escape with multibyte characters
Browse files Browse the repository at this point in the history
Add a test case for querystring.parse with multibyte characters
under 0x800.

PR-URL: #11251
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
watilde authored and jasnell committed Feb 11, 2017
1 parent fe2b5f0 commit 81ef56b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parallel/test-querystring-escape.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ assert.deepStrictEqual(qs.escape(5), '5');
assert.deepStrictEqual(qs.escape('test'), 'test');
assert.deepStrictEqual(qs.escape({}), '%5Bobject%20Object%5D');
assert.deepStrictEqual(qs.escape([5, 10]), '5%2C10');
assert.deepStrictEqual(qs.escape('Ŋōđĕ'), '%C5%8A%C5%8D%C4%91%C4%95');

// using toString for objects
assert.strictEqual(
Expand Down

0 comments on commit 81ef56b

Please sign in to comment.