fix a few more rubocop offenses

This commit is contained in:
Florian Weingarten
2015-06-04 13:09:58 -04:00
parent b347fac3c0
commit 82269e2509
10 changed files with 31 additions and 37 deletions
+3 -3
View File
@@ -83,15 +83,15 @@ class ErrorHandlingTest < Minitest::Test
def test_with_line_numbers_adds_numbers_to_parser_errors
err = assert_raises(SyntaxError) do
template = Liquid::Template.parse(%q(
Liquid::Template.parse(%q(
foobar
{% "cat" | foobar %}
bla
),
),
line_numbers: true
)
)
end
assert_match /Liquid syntax error \(line 4\)/, err.message