Skip to content

Commit

Permalink
fix Style/HashConversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Yamashita01 authored Feb 21, 2021
1 parent 6ff8005 commit 67d9cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/pronto/rubocop/offense_line_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
let(:config) do
{
'severities' =>
Hash[::RuboCop::Cop::Severity::NAMES.map { |name| [name, 'fatal'] }]
::RuboCop::Cop::Severity::NAMES.map { |name| [name, 'fatal'] }.to_h
}
end

Expand Down

0 comments on commit 67d9cbf

Please sign in to comment.