spec/rubocop/cop/offence_spec.rb in rubocop-0.14.1 vs spec/rubocop/cop/offence_spec.rb in rubocop-0.15.0
- old
+ new
@@ -105,9 +105,11 @@
a + e.length + "\n".length
end + column
Parser::Source::Range.new(source_buffer, begin_pos, begin_pos + 1)
end
+ # We want a nice table layout, so we allow space inside empty hashes.
+ # rubocop:disable SpaceInsideHashLiteralBraces
[
[{ }, { }, 0],
[{ line: 6 }, { line: 5 }, 1],