mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 01:05:40 +03:00
adjusted test case to have third argument
This commit is contained in:
@@ -5,12 +5,12 @@ class IncTagTest < Test::Unit::TestCase
|
||||
include Liquid
|
||||
|
||||
def test_inc
|
||||
assert_template_result('0','{%inc port %}')
|
||||
assert_template_result('0 1','{%inc port %} {%inc port%}')
|
||||
assert_template_result('0','{%inc port %}', {})
|
||||
assert_template_result('0 1','{%inc port %} {%inc port%}', {})
|
||||
assert_template_result('0 0 1 2 1',
|
||||
'{%inc port %} {%inc starboard%} ' +
|
||||
'{%inc port %} {%inc port%} ' +
|
||||
'{%inc starboard %}')
|
||||
'{%inc starboard %}', {})
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user