Skip to content

Commit

Permalink
Surpressing 'unknown command: “Switch to inspect mode.”' message
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 29, 2024
1 parent fe440c5 commit 7cc6f70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/irb/test_input_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def test_initialization

def test_colorize
IRB.conf[:USE_COLORIZE] = true
IRB.conf[:VERBOSE] = false
original_colorable = IRB::Color.method(:colorable?)
IRB::Color.instance_eval { undef :colorable? }
IRB::Color.define_singleton_method(:colorable?) { true }
Expand Down

0 comments on commit 7cc6f70

Please sign in to comment.