Skip to content

Commit 82ddf96

Browse files
joyeecheungTimothyGu
authored andcommitted
test: turn on WPT tests on empty param pairs
This specific bug was fixed by #11234. This commit turns on the tests accordingly. PR-URL: #11369 Ref: #11234 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent fa41dd1 commit 82ddf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-whatwg-url-searchparams-stringifier.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ test(function() {
112112

113113
test(function() {
114114
var params;
115-
// params = new URLSearchParams('a=b&c=d&&e&&');
116-
// assert_equals(params.toString(), 'a=b&c=d&e=');
115+
params = new URLSearchParams('a=b&c=d&&e&&');
116+
assert_equals(params.toString(), 'a=b&c=d&e=');
117117
// params = new URLSearchParams('a = b &a=b&c=d%20');
118118
// assert_equals(params.toString(), 'a+=+b+&a=b&c=d+');
119119
// The lone '=' _does_ survive the roundtrip.

0 commit comments

Comments
 (0)