diff --git a/ruby/lib/minitest/queue/runner.rb b/ruby/lib/minitest/queue/runner.rb index f77f00bd..17c49363 100644 --- a/ruby/lib/minitest/queue/runner.rb +++ b/ruby/lib/minitest/queue/runner.rb @@ -208,7 +208,7 @@ def bisect_command puts end - if run_index == 0 + if queue.suspects_left == 0 step(yellow("The failing test was the first test in the test order so there is nothing to bisect.")) File.write('log/test_order.log', "") exit! 1