Skip to content

Commit

Permalink
Stop passing unused block
Browse files Browse the repository at this point in the history
Found with the new warning in Ruby 3.4.
  • Loading branch information
XrXr authored Nov 25, 2024
1 parent f21be14 commit 854e201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/lib/minitest/queue/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def reset_counters
end

def populate_queue
Minitest.queue.populate(Minitest.loaded_tests, random: ordering_seed, &:id)
Minitest.queue.populate(Minitest.loaded_tests, random: ordering_seed)
end

def set_load_path
Expand Down

0 comments on commit 854e201

Please sign in to comment.