mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03:00
Add regression test for comment tag
This commit is contained in:
@@ -33,6 +33,7 @@ class StandardTagTest < Test::Unit::TestCase
|
||||
assert_template_result('','{% comment %}{% endcomment %}')
|
||||
assert_template_result('','{%comment%}comment{%endcomment%}')
|
||||
assert_template_result('','{% comment %}comment{% endcomment %}')
|
||||
assert_template_result('','{% comment %} 1 {% comment %} 2 {% endcomment %} 3 {% endcomment %}')
|
||||
|
||||
assert_template_result('foobar','foo{%comment%}comment{%endcomment%}bar')
|
||||
assert_template_result('foobar','foo{% comment %}comment{% endcomment %}bar')
|
||||
|
||||
Reference in New Issue
Block a user