Skip to content

Commit

Permalink
test: add double && case
Browse files Browse the repository at this point in the history
  • Loading branch information
Coobaha committed Mar 6, 2022
1 parent bd1f481 commit 9b85362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ test('parse()', function (t) {
test('parse/stringify empty key WIP', function (t) {
var testCases = [
{ input: '&', withEmptyKeys: {}, stringifyOutput: '', noEmptyKeys: {} },
{ input: '&&', withEmptyKeys: {}, stringifyOutput: '', noEmptyKeys: {} },
{ input: '&=', withEmptyKeys: { '': '' }, stringifyOutput: '=', noEmptyKeys: {} },
{ input: '&=&', withEmptyKeys: { '': '' }, stringifyOutput: '=', noEmptyKeys: {} },
{ input: '&=&=', withEmptyKeys: { '': ['', ''] }, stringifyOutput: '[0]=&[1]=', noEmptyKeys: {} },
Expand Down

0 comments on commit 9b85362

Please sign in to comment.