lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-1.34.0

- old
+ new

@@ -19,10 +19,12 @@ 'instead of mutating $%<name>s.' def on_gvasgn(node) return unless inside_example_scope?(node) + # rubocop:disable InternalAffairs/NodeDestructuring variable_name, _rhs = *node + # rubocop:enable InternalAffairs/NodeDestructuring name = variable_name[1..-1] return unless name.eql?('stdout') || name.eql?('stderr') add_offense(node, location: :name, message: format(MSG, name: name)) end