mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 04:40:39 -07:00
fix: find variable in parent scope (strict_variables)
This commit is contained in:
+2
-1
@@ -66,7 +66,8 @@ describe('error', function() {
|
||||
return engine.parseAndRender(src).catch(function(err) {
|
||||
expect(err.name).to.equal('ParseError');
|
||||
expect(err.input).to.equal('{% -a %}');
|
||||
expect(err.line).to.equal(3);
|
||||
expect(err.line).to.equal(3)
|
||||
expect(err.stack).to.contain('From AssertionError: tag -a not found');
|
||||
});
|
||||
});
|
||||
it('should throw correct error info for files', function() {
|
||||
|
||||
Reference in New Issue
Block a user