From e26e90e3fb402df57a2a88ab73227371b03984ed Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 16 Oct 2023 20:11:08 +0900 Subject: [PATCH] Suppress "Switch to inspect mode" messages This message is displayed if STDIN is not a tty. The parallel test is the case. --- test/irb/test_completion.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb index 0da7a7471..d96752681 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -271,6 +271,7 @@ def setup save_encodings @verbose, $VERBOSE = $VERBOSE, nil IRB.init_config(nil) + IRB.conf[:VERBOSE] = false IRB.conf[:MAIN_CONTEXT] = IRB::Context.new(IRB::WorkSpace.new(binding)) end