mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Cycle tags are never blank
This commit is contained in:
@@ -65,6 +65,10 @@ class BlankTest < Test::Unit::TestCase
|
||||
assert_template_result(" 0"*2*(N+1), wrap("{% assign foo = 0 %} {% increment foo %} {% decrement foo %}"))
|
||||
end
|
||||
|
||||
def test_cycle_is_not_blank
|
||||
assert_template_result("12"*((N+1)/2)+"1", wrap("{% cycle '1', '2' %}"))
|
||||
end
|
||||
|
||||
def test_raw_is_not_blank
|
||||
assert_template_result(" "*(N+1), wrap(" {% raw %} {% endraw %}"))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user