Skip to content

Commit cba2b2f

Browse files
committed
Restore unused block warnings condition for Ruby 3.4
ruby/ruby#10403 raised many "the block passed to" warnings. then idnored these warnings because some of them might have contain false positives. Now we can restore the warning condition because these false positives should have been addressed by these changes: ruby/ruby#10559 rails#51597 rails#51583
1 parent 965b8c3 commit cba2b2f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

activesupport/lib/active_support/testing/strict_warnings.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ class WarningError < StandardError; end
1414
# Expected non-verbose warning emitted by Rails.
1515
/Ignoring .*\.yml because it has expired/,
1616
/Failed to validate the schema cache because/,
17-
18-
# Ref: https://bugs.ruby-lang.org/issues/15554
19-
# This new Ruby 3.4 warning is still being fined tuned to reduce false positives
20-
/the block passed to/,
2117
)
2218

2319
SUPPRESSED_WARNINGS = Regexp.union(

0 commit comments

Comments
 (0)