fix: {%assign%} now adds a shading scope

This commit is contained in:
harttle
2018-07-21 21:30:40 +08:00
parent 36f84e4b3c
commit b5cfd2d2c5
5 changed files with 36 additions and 27 deletions
-5
View File
@@ -187,11 +187,6 @@ describe('scope', function () {
})
describe('.push()', function () {
it('should throw when trying to push non-object', function () {
expect(function () {
scope.push(false)
}).to.throw()
})
it('should push scope', function () {
scope.set('bar', 'bar')
scope.push({