Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball committed Apr 16, 2024
1 parent cdf0011 commit b5daabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubocop/formatter/checkstyle_formatter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module Formatter
c.send(:begin_investigation, RuboCop::ProcessedSource.new(file, 2.7, 'sample.rb'))
source_buffer = Parser::Source::Buffer.new('sample.rb', 1).tap { |b| b.source = '' }
severities.each_with_index do |severity, index|
c.add_offense(nil, location: Parser::Source::Range.new(source_buffer, 0, index), message: severity.to_s)
c.add_offense(Parser::Source::Range.new(source_buffer, 0, index), message: severity.to_s)
end
end
end
Expand Down

0 comments on commit b5daabb

Please sign in to comment.