Skip to content

Commit ee068d0

Browse files
committed
Suppress "switching inspect mode" messages
1 parent c2874ec commit ee068d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/irb/test_cmd.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ def test_whereami_alias
629629
IRB.init_config(nil)
630630
IRB.conf[:COMMAND_ALIASES] = { :'@' => :whereami }
631631
workspace = IRB::WorkSpace.new(Object.new)
632+
IRB.conf[:VERBOSE] = false
632633
irb = IRB::Irb.new(workspace, input)
633634
IRB.conf[:MAIN_CONTEXT] = irb.context
634635
out, err = capture_output do
@@ -652,6 +653,7 @@ def test_vars_with_aliases
652653
main.instance_variable_set(:@foo, "foo")
653654
$bar = "bar"
654655
workspace = IRB::WorkSpace.new(main)
656+
IRB.conf[:VERBOSE] = false
655657
irb = IRB::Irb.new(workspace, input)
656658
IRB.conf[:MAIN_CONTEXT] = irb.context
657659
out, err = capture_output do

0 commit comments

Comments
 (0)