diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-10-21 19:47:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-10-21 19:47:05 +0900 |
commit | 38b79b05fd615b9e055f100f02faf5f5942e45c3 (patch) | |
tree | 529c59ea60133cde939dde3755c0cf51b9080012 | |
parent | 54b9b80b84760717aadb8bf67f638785ed895a58 (diff) |
Fallback job status to normal if no tty
-rw-r--r-- | tool/lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |