Fixing regression from block delimiter enhancement

This commit is contained in:
Jason Hiltz-Laforge
2014-07-23 19:18:02 +00:00
parent c75522026b
commit 55597b8398
3 changed files with 13 additions and 7 deletions
+7
View File
@@ -84,4 +84,11 @@ class ParsingQuirksTest < Test::Unit::TestCase
assert_template_result('',"{% if #{markup} %} YES {% endif %}")
end
end
def test_raise_on_invalid_tag_delimiter
assert_raise(Liquid::SyntaxError) do
Template.new.parse('{% end %}')
end
end
end # ParsingQuirksTest