Skip to content

Commit

Permalink
Merge pull request #51856 from yahonda/restore_warning_condition_for_…
Browse files Browse the repository at this point in the history
…ruby34

Restore unused block warnings condition for Ruby 3.4
  • Loading branch information
yahonda authored and rafaelfranca committed May 21, 2024
1 parent ebfb2aa commit aad7408
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions activesupport/lib/active_support/testing/strict_warnings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ class WarningError < StandardError; end
# Expected non-verbose warning emitted by Rails.
/Ignoring .*\.yml because it has expired/,
/Failed to validate the schema cache because/,

# Ref: https://bugs.ruby-lang.org/issues/15554
# This new Ruby 3.4 warning is still being fined tuned to reduce false positives
/the block passed to/,
)

SUPPRESSED_WARNINGS = Regexp.union(
Expand Down

0 comments on commit aad7408

Please sign in to comment.