mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
refactor: use assert, fix: respect to express settings.views, close #16
This commit is contained in:
+1
-1
@@ -37,10 +37,10 @@ describe('error', function() {
|
||||
"/foo.html": '<html>\n<head>\n\n{% raw %}\n\n'
|
||||
});
|
||||
return test(engine.renderFile('/foo.html', {}), function(err){
|
||||
mock.restore();
|
||||
expect(err.input).to.equal('{% raw %}');
|
||||
expect(err.line).to.equal(4);
|
||||
expect(err.file).to.equal('/foo.html');
|
||||
mock.restore();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user