Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh authored and sideshowbarker committed Oct 15, 2020
1 parent 48d0b26 commit 54c6d64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions url/urlsearchparams-constructor.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ test(function() {
{ "input": {"+": "%C2"}, "output": [["+", "%C2"]], "name": "object with +" },
{ "input": {c: "x", a: "?"}, "output": [["c", "x"], ["a", "?"]], "name": "object with two keys" },
{ "input": [["c", "x"], ["a", "?"]], "output": [["c", "x"], ["a", "?"]], "name": "array with two keys" },
{ "input": {"\uD835x": "1", "xx": "2", "\uD83Dx": "3"}, "output": [["\uFFFDx", "3"], ["xx", "2"]], "name": "2 unpaired surrogates (no trailing)" },
{ "input": {"x\uDC53": "1", "x\uDC5C": "2", "x\uDC65": "3"}, "output": [["x\uFFFD", "3"]], "name": "3 unpaired surrogates (no leading)" },
{ "input": {"a\0b": "42", "c\uD83D": "23", "d\u1234": "foo"}, "output": [["a\0b", "42"], ["c\uFFFD", "23"], ["d\u1234", "foo"]], "name": "object with NULL, non-ASCII, and surrogate keys" }
].forEach((val) => {
test(() => {
Expand Down

0 comments on commit 54c6d64

Please sign in to comment.