You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should support for-in with variable', async function () {
const src = '{% assign total = 3 | minus: 1 %}' +
'{% for i in (1..total) %}{{ i }}{% endfor %}'
const html = await liquid.parseAndRender(src, {})
return expect(html).to.equal('12')
})
Instead of looping up to 2, it now loops up to 20. Seems to be multiplying by 10 for some reason.
The text was updated successfully, but these errors were encountered:
This used to work on 7.2.0, and broke in 7.2.1.
Instead of looping up to 2, it now loops up to 20. Seems to be multiplying by 10 for some reason.
The text was updated successfully, but these errors were encountered: