mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
Add tests for text immediately following liquid tag
This commit is contained in:
@@ -19,4 +19,9 @@ class InlineCommentTest < Minitest::Test
|
|||||||
LIQUID
|
LIQUID
|
||||||
assert_template_result('before()after', source)
|
assert_template_result('before()after', source)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_no_space_after_hash_symbol
|
||||||
|
assert_template_result('', '{% #immediate text %}')
|
||||||
|
assert_template_result('', '{% liquid #immediate text %}')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user