diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-11-04 20:43:12 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-04 11:43:21 +0000 |
commit | b83074dac7a3a1353ac8f897a510cecfccc2f7c6 (patch) | |
tree | 4a62b43e0d800a93f864e2ca525f2bcc8dda91ed | |
parent | ed9d7612172e12f515cb79088efe45267a062276 (diff) | |
download | ruby-b83074dac7a3a1353ac8f897a510cecfccc2f7c6.tar.gz |
[ruby/irb] Suppress "switching inspect mode" messages
https://github.com/ruby/irb/commit/ee068d039b
-rw-r--r-- | test/irb/test_cmd.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |