Skip to content

Commit

Permalink
test: add test for serialising duplicated keys
Browse files Browse the repository at this point in the history
  • Loading branch information
MaoShizhong committed Jun 29, 2024
1 parent b8ec936 commit bef7b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/client/serialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('request.serializeObject()', () => {
serialize({ '&name&': 'tj' }, '%26name%26=tj');
serialize({ hello: '`test`' }, 'hello=%60test%60');
serialize({ $hello: 'test' }, '$hello=test');
serialize({ foo: 'foo', foo: 'bar' }, 'foo=foo&foo=bar');
});
});

Expand Down

0 comments on commit bef7b08

Please sign in to comment.