From 854e20128d08b7e8ffcdb58ed4fde9fea9435ef0 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Mon, 25 Nov 2024 16:01:59 -0500 Subject: [PATCH] Stop passing unused block Found with the new warning in Ruby 3.4. --- ruby/lib/minitest/queue/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/lib/minitest/queue/runner.rb b/ruby/lib/minitest/queue/runner.rb index 282b9e14..af48df9d 100644 --- a/ruby/lib/minitest/queue/runner.rb +++ b/ruby/lib/minitest/queue/runner.rb @@ -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