Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Jan 22, 2024
1 parent 5c34a44 commit 9b9379c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion profile/driver_bench/multi_doc/find_many.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def file_name
def setup
super

docs = 10_000.times.map { dataset.first }
docs = Array.new(10_000) { dataset.first }
@collection.insert_many(docs)
end

Expand Down
2 changes: 1 addition & 1 deletion profile/driver_bench/single_doc/find_one_by_id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def file_name
def setup
super

docs = 10_000.times.map { |i| dataset.merge(_id: i + 1) }
docs = Array.new(10_000) { |i| dataset.merge(_id: i + 1) }
@collection.insert_many(docs)
end

Expand Down

0 comments on commit 9b9379c

Please # to comment.