summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-28 16:32:36 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-26 13:04:04 -0800
commitd01bcf378bf39e4a9da2fab85f5f589b218c3080 (patch)
tree869392cb192eb8805d1b505b4cfc9d7f3b730b6a /test/irb
parent87988756d0ad0c494c7589d75a079207ce0747ee (diff)
[ruby/irb] Suppress "switching inspect mode" messages
https://github.com/ruby/irb/commit/565eeb3c19
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_cmd.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 662af94b81..908edc3349 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -383,6 +383,7 @@ module TestIRB
"\n",
])
IRB.conf[:PROMPT_MODE] = :SIMPLE
+ IRB.conf[:VERBOSE] = false
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
out, err = capture_output do
irb.eval_input
@@ -404,6 +405,7 @@ module TestIRB
"\n",
])
IRB.conf[:PROMPT_MODE] = :SIMPLE
+ IRB.conf[:VERBOSE] = false
irb = IRB::Irb.new(IRB::WorkSpace.new(self), input)
out, err = capture_output do
without_rdoc do