mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
Raise SyntaxError if raw tag is unclosed
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ module Minitest
|
||||
assert_match expected, Template.parse(template).render!(assigns), message
|
||||
end
|
||||
|
||||
def assert_match_syntax_error(match, template, registers = {})
|
||||
def assert_match_syntax_error(match, template, assigns = {})
|
||||
exception = assert_raises(Liquid::SyntaxError) {
|
||||
Template.parse(template).render(assigns)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user