Skip to content

Commit

Permalink
rubocop 1.63.2
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Apr 28, 2024
1 parent 4455a40 commit d5d6fa5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/progress_spec.rb
Expand Up @@ -218,8 +218,7 @@

it 'yields same lines' do
enum = "a\nb\nc"
lines = []
Progress::WithProgress.new(enum).each{ |line| lines << line }
lines = Progress::WithProgress.new(enum).map{ |line| line }
expect(lines).to eq(enum.lines.to_a)
end
end
Expand Down

0 comments on commit d5d6fa5

Please sign in to comment.