lib/rubocop/cop/mixin/minitest_cop_rule.rb in rubocop-minitest-0.10.1 vs lib/rubocop/cop/mixin/minitest_cop_rule.rb in rubocop-minitest-0.10.2

- old
+ new

@@ -55,10 +55,10 @@ end private def peel_redundant_parentheses_from(arguments) - return arguments unless arguments.first.begin_type? + return arguments unless arguments.first&.begin_type? peel_redundant_parentheses_from(arguments.first.children) end def offense_message(arguments)