mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
892e38c78e
Currently we sometimes find a redundant begin block in code review (e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205). I'd like to enable `Style/RedundantBegin` cop to avoid that, since rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5 (https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with that situation than before. |
||
---|---|---|
.. | ||
fixtures | ||
mailers | ||
abstract_unit.rb | ||
assert_select_email_test.rb | ||
asset_host_test.rb | ||
base_test.rb | ||
caching_test.rb | ||
delivery_methods_test.rb | ||
i18n_with_controller_test.rb | ||
legacy_delivery_job_test.rb | ||
log_subscriber_test.rb | ||
mail_helper_test.rb | ||
mail_layout_test.rb | ||
message_delivery_test.rb | ||
parameterized_test.rb | ||
test_case_test.rb | ||
test_helper_test.rb | ||
url_test.rb |