Skip to content

Commit 803be08

Browse files
watildeitaloacasas
authored andcommitted
test: querystring.escape with multibyte characters
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]>
1 parent 809aea3 commit 803be08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-querystring-escape.js

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ assert.deepStrictEqual(qs.escape(5), '5');
88
assert.deepStrictEqual(qs.escape('test'), 'test');
99
assert.deepStrictEqual(qs.escape({}), '%5Bobject%20Object%5D');
1010
assert.deepStrictEqual(qs.escape([5, 10]), '5%2C10');
11+
assert.deepStrictEqual(qs.escape('Ŋōđĕ'), '%C5%8A%C5%8D%C4%91%C4%95');
1112

1213
// using toString for objects
1314
assert.strictEqual(

0 commit comments

Comments
 (0)