summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-08-29 11:11:35 +0900
committerHiroshi SHIBATA <[email protected]>2024-08-29 11:11:35 +0900
commit7cc6f70aa2d2eb3b6ad493b1cf32a29287103aaf (patch)
tree275b582152474429f6e1856fad883ec05c2a4fdd
parentfe440c59679b0475ad7b566b5680fdb9998207f7 (diff)
Surpressing 'unknown command: “Switch to inspect mode.”' message
-rw-r--r--test/irb/test_input_method.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_input_method.rb b/test/irb/test_input_method.rb
index fdf3483416..9d0f393ce0 100644
--- a/test/irb/test_input_method.rb
+++ b/test/irb/test_input_method.rb
@@ -36,6 +36,7 @@ module TestIRB
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 }