aboutsummaryrefslogtreecommitdiffstats
path: root/test/irb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-16 20:11:08 +0900
committergit <svn-admin@ruby-lang.org>2023-10-16 12:09:05 +0000
commit06a4011964e02000f44097b12435b49957a12f02 (patch)
tree16b70342585f08c24c12fbc06ded9eae011e15d1 /test/irb
parent598af0e73a48593c56e33ebc35c123fb16562cfc (diff)
downloadruby-06a4011964e02000f44097b12435b49957a12f02.tar.gz
[ruby/irb] Suppress "Switch to inspect mode" messages
This message is displayed if STDIN is not a tty. The parallel test is the case. https://github.com/ruby/irb/commit/e26e90e3fb
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_completion.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
index 0da7a7471e..d967526815 100644
--- a/test/irb/test_completion.rb
+++ b/test/irb/test_completion.rb
@@ -271,6 +271,7 @@ module TestIRB
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