Skip to content

Commit ba8cdbd

Browse files
committed
test: add case for objects with string values
1 parent fae0532 commit ba8cdbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/cases.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ export const cases: Record<string, Case | Case[]> = {
182182
encoded: 'a=({b:({c:1})})',
183183
},
184184
],
185+
'object with string values': {
186+
decoded: { a: { b: 'c', d: 'e' }, f: { g: { h: 'i', j: 'k' } } },
187+
encoded: 'a={b:c,d:e}&f={g:{h:i,j:k}}',
188+
},
185189
'empty arrays': {
186190
decoded: { a: [] },
187191
encoded: 'a=()',

0 commit comments

Comments
 (0)