mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 14:30:38 -07:00
feat: support custom key-value separator, #752
This commit is contained in:
@@ -39,4 +39,8 @@ describe('Hash', function () {
|
||||
num3: 4
|
||||
})
|
||||
})
|
||||
it('should support custom separator', async function () {
|
||||
const hash = await toPromise(new Hash('num=2.3', '=').render(new Context()))
|
||||
expect(hash.num).toBe(2.3)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user