rubocop autocorrect Style/MethodCallWithArgsParentheses

This commit is contained in:
Dylan Thacker-Smith
2020-12-11 13:51:00 -05:00
parent 6dec172743
commit f7d67b946e
17 changed files with 83 additions and 83 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class ErrorHandlingTest < Minitest::Test
# Liquid should not catch Exceptions that are not subclasses of StandardError, like Interrupt and NoMemoryError
def test_exceptions_propagate
assert_raises Exception do
assert_raises(Exception) do
template = Liquid::Template.parse('{{ errors.exception }}')
template.render('errors' => ErrorDrop.new)
end