From 38b79b05fd615b9e055f100f02faf5f5942e45c3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 21 Oct 2023 19:47:05 +0900 Subject: [PATCH] Fallback job status to normal if no tty --- tool/lib/test/unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index 4dc4392fc0..79b1a916b0 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -948,7 +948,7 @@ module Test end def _prepare_run(suites, type) - options[:job_status] ||= :replace if @tty && !@verbose + options[:job_status] ||= @tty ? :replace : :normal unless @verbose case options[:color] when :always color = true