Fix rubocop offenses from 1.82 upgrade

This commit is contained in:
Tobi Lutke
2026-01-01 20:20:50 -05:00
parent 391c0df57a
commit 361d1d52b1
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class StrainerTemplateUnitTest < Minitest::Test
def test_add_filter_when_wrong_filter_class
c = Context.new
s = c.strainer
wrong_filter = ->(v) { v.reverse }
wrong_filter = lambda(&:reverse)
exception = assert_raises(TypeError) do
s.class.add_filter(wrong_filter)