lib/rubocop/cop/mixin/space_before_punctuation.rb in rubocop-1.12.1 vs lib/rubocop/cop/mixin/space_before_punctuation.rb in rubocop-1.13.0

- old
+ new

@@ -23,11 +23,10 @@ tokens.each_cons(2) do |token1, token2| next unless kind(token2) next unless space_missing?(token1, token2) next if space_required_after?(token1) - pos_before_punctuation = range_between(token1.end_pos, - token2.begin_pos) + pos_before_punctuation = range_between(token1.end_pos, token2.begin_pos) yield token2, pos_before_punctuation end end