mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 06:20:38 -07:00
fix: return variable name in include error
This commit is contained in:
committed by
Jun Yang
parent
6bf242b9fa
commit
93433a8b30
@@ -44,7 +44,7 @@ describe('tags/include', function () {
|
||||
})
|
||||
return liquid.renderFile('/parent.html').catch(function (e) {
|
||||
expect(e.name).to.equal('RenderError')
|
||||
expect(e.message).to.match(/illegal filename/)
|
||||
expect(e.message).to.match(/illegal filename "not-exist"/)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user