diff --git a/test/test_helper.rb b/test/test_helper.rb index de2d534e..23f0a42a 100755 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -56,6 +56,10 @@ module Minitest assert_match(match, exception.message) end + def assert_syntax_error(template, error_mode: nil) + assert_match_syntax_error("", template, error_mode: error_mode) + end + def assert_usage_increment(name, times: 1) old_method = Liquid::Usage.method(:increment) calls = 0