From b83074dac7a3a1353ac8f897a510cecfccc2f7c6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 4 Nov 2022 20:43:12 +0900 Subject: [ruby/irb] Suppress "switching inspect mode" messages https://github.com/ruby/irb/commit/ee068d039b --- test/irb/test_cmd.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 09f4b3bae8..2728aa656a 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -629,6 +629,7 @@ module TestIRB IRB.init_config(nil) IRB.conf[:COMMAND_ALIASES] = { :'@' => :whereami } workspace = IRB::WorkSpace.new(Object.new) + IRB.conf[:VERBOSE] = false irb = IRB::Irb.new(workspace, input) IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do @@ -652,6 +653,7 @@ module TestIRB main.instance_variable_set(:@foo, "foo") $bar = "bar" workspace = IRB::WorkSpace.new(main) + IRB.conf[:VERBOSE] = false irb = IRB::Irb.new(workspace, input) IRB.conf[:MAIN_CONTEXT] = irb.context out, err = capture_output do -- cgit v1.2.3