1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/testing
Ryuta Kamizono 892e38c78e Enable Style/RedundantBegin cop to avoid newly adding redundant begin block
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.
2018-12-21 06:12:42 +09:00
..
assertions.rb added tests for assert_no_difference with multiple expressions 2018-07-08 15:15:16 +02:00
autorun.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
constant_lookup.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
declarative.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
deprecation.rb Remove unused require "active_support/core_ext/regexp" 2018-07-29 14:51:00 +09:00
file_fixtures.rb Missing require "active_support/concern" 2018-10-30 10:17:09 +09:00
isolation.rb Ruby 2.4: take advantage of String#unpack1 2018-03-01 22:42:51 -08:00
method_call_assertions.rb Require Ruby 2.5 for Rails 6. 2018-12-19 21:47:50 +01:00
parallelization.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
setup_and_teardown.rb SetupAndTeardown has few caveats that breaks libraries: 2018-04-27 01:36:27 -04:00
stream.rb Fix Style/RedundantReturn offenses 2018-04-21 13:23:42 -04:00
tagged_logging.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
time_helpers.rb Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00