mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
bump
This commit is contained in:
@@ -3,7 +3,7 @@ require 'rubygems'
|
||||
require 'rake'
|
||||
require 'hoe'
|
||||
|
||||
PKG_VERSION = "1.9.0"
|
||||
PKG_VERSION = "2.0.0"
|
||||
PKG_NAME = "liquid"
|
||||
PKG_DESC = "A secure non evaling end user template engine with aesthetic markup."
|
||||
|
||||
|
||||
@@ -346,7 +346,6 @@ HERE
|
||||
end
|
||||
|
||||
|
||||
|
||||
def test_cycle
|
||||
|
||||
assert_template_result('one','{%cycle "one", "two"%}')
|
||||
@@ -356,6 +355,9 @@ HERE
|
||||
|
||||
assert_template_result('text-align: left text-align: right','{%cycle "text-align: left", "text-align: right" %} {%cycle "text-align: left", "text-align: right"%}')
|
||||
|
||||
assert_template_result(' ','{% cycle "", "", "</tr><tr>" %}')
|
||||
assert_template_result(' </tr><tr> ','{% cycle "", "", "</tr><tr>" %} {% cycle "", "", "</tr><tr>" %} {% cycle "", "", "</tr><tr>" %} {% cycle "", "", "</tr><tr>" %}')
|
||||
|
||||
end
|
||||
|
||||
def test_multiple_cycles
|
||||
|
||||
Reference in New Issue
Block a user