mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
fix unless: null elseTemplates
This commit is contained in:
@@ -97,6 +97,7 @@ describe('tags', function() {
|
||||
test('{% unless 1 %}yes{%else%}no{%endunless%}', 'no');
|
||||
testThrow('{% unless 1>2 %}yes', /tag {% unless 1>2 %} not closed/);
|
||||
test('{% unless 1>2 %}yes{%endunless%}', 'yes');
|
||||
test('{% unless true %}{%endunless%}', '');
|
||||
});
|
||||
|
||||
it('should support capture', function() {
|
||||
|
||||
Reference in New Issue
Block a user