mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
update grammar to support #
This commit is contained in:
@@ -7,7 +7,7 @@ class InlineCommentTest < Minitest::Test
|
||||
|
||||
def test_basic_usage
|
||||
template_source = <<-END_TEMPLATE
|
||||
foo{% -- this is a comment %}bar
|
||||
foo{% # this is a comment %}bar
|
||||
END_TEMPLATE
|
||||
template = Template.parse(template_source)
|
||||
rendered = template.render!
|
||||
|
||||
Reference in New Issue
Block a user