lib/rubocop/cop/metrics/block_nesting.rb in rubocop-1.43.0 vs lib/rubocop/cop/metrics/block_nesting.rb in rubocop-1.44.0

- old
+ new

@@ -10,10 +10,10 @@ # option. When set to `false` (the default) blocks are not counted # towards the nesting level. Set to `true` to count blocks as well. # # The maximum level of nesting allowed is configurable. class BlockNesting < Base - NESTING_BLOCKS = %i[case if while while_post until until_post for resbody].freeze + NESTING_BLOCKS = %i[case case_match if while while_post until until_post for resbody].freeze exclude_limit 'Max' def on_new_investigation return if processed_source.blank?