Raise SyntaxError if raw tag is unclosed

This commit is contained in:
Justin Li
2015-06-02 10:56:51 -04:00
parent be2e41e4d5
commit b1ee9129e7
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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)
}