mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Test trim without any content
This commit is contained in:
@@ -556,4 +556,8 @@ class TrimModeTest < Minitest::Test
|
||||
template = Liquid::Template.parse("B\n {%- if true %}{% endif %}", bug_compatible_whitespace_trimming: true)
|
||||
assert_equal("B", template.render)
|
||||
end
|
||||
|
||||
def test_trim_blank
|
||||
assert_template_result('foobar', 'foo {{-}} bar')
|
||||
end
|
||||
end # TrimModeTest
|
||||
|
||||
Reference in New Issue
Block a user