mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 02:10:41 -07:00
Create a BlockBody class to decouple block body parsing from tags.
This commit is contained in:
committed by
Justin Li
parent
263e90e772
commit
73fcd42403
@@ -151,7 +151,7 @@ class ErrorHandlingTest < Minitest::Test
|
||||
|
||||
def test_syntax_errors_in_nested_blocks_have_correct_line_number
|
||||
err = assert_raises(SyntaxError) do
|
||||
Liquid::Template.parse(%q{
|
||||
tmpl = Liquid::Template.parse(%q{
|
||||
foobar
|
||||
|
||||
{% if 1 != 2 %}
|
||||
|
||||
Reference in New Issue
Block a user