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 <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
watilde authored and italoacasas committed Feb 13, 2017
1 parent 786b859 commit 5845456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parallel/test-querystring-escape.js
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 5845456

Please sign in to comment.