fix: return variable name in include error

This commit is contained in:
Cristofer Gonzales
2020-03-23 23:26:31 +08:00
committed by Jun Yang
parent 6bf242b9fa
commit 93433a8b30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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"/)
})
})