This commit is contained in:
harttle
2019-01-28 18:06:47 +08:00
parent 7a2e036c79
commit 8a881ac69a
41 changed files with 116 additions and 116 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ const expect = chai.expect
chai.use(chaiAsPromised)
describe('trimming', function () {
const ctx = {name: 'harttle'}
const ctx = { name: 'harttle' }
describe('tag trimming', function () {
it('should respect trim_tag_left', function () {
@@ -50,7 +50,7 @@ describe('trimming', function () {
.to.eventually.equal('aharttle')
})
it('should respect to greedy:false by default', function () {
const engine = Liquid({greedy: false})
const engine = Liquid({ greedy: false })
return expect(engine.parseAndRender(src, ctx))
.to.eventually.equal('\n a \nharttle ')
})