Update rubocop-shopify to 2.18.0 and fix new offenses

This commit is contained in:
Tobi Lutke
2026-01-01 20:22:19 -05:00
parent 361d1d52b1
commit af58800c16
8 changed files with 19 additions and 10 deletions
+2 -2
View File
@@ -161,8 +161,8 @@ class ConditionUnitTest < Minitest::Test
assert_equal(true, Condition.new(1, '==', 1).evaluate)
end
expected = "DEPRECATION WARNING: Condition#evaluate without a context argument is deprecated" \
" and will be removed from Liquid 6.0.0."
expected = "DEPRECATION WARNING: Condition#evaluate without a context argument is deprecated " \
"and will be removed from Liquid 6.0.0."
assert_includes(err.lines.map(&:strip), expected)
end