Skip to content

Commit

Permalink
Surpressing 'unknown command: “Switch to inspect mode.”' message (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored Aug 29, 2024
1 parent 985ac50 commit 06eb0bf
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 06eb0bf

Please sign in to comment.