ruby-changes:65626
From: Nobuyoshi <ko1@a...>
Date: Tue, 23 Mar 2021 08:23:22 +0900 (JST)
Subject: [ruby-changes:65626] 4bc09c9696 (master): Suppress verbose messages
https://git.ruby-lang.org/ruby.git/commit/?id=4bc09c9696 From 4bc09c9696a430a24f9c583668e06b4a2976025b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 23 Mar 2021 08:20:02 +0900 Subject: Suppress verbose messages Get rid of warnings in the parallel test. ``` unknown command: "Switch to inspect mode." ``` --- test/irb/test_cmd.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 5940d2b..f2e9cfb 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -378,6 +378,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L378 def test_ls IRB.init_config(nil) workspace = IRB::WorkSpace.new(self) + IRB.conf[:VERBOSE] = false irb = IRB::Irb.new(workspace) IRB.conf[:MAIN_CONTEXT] = irb.context input = TestInputMethod.new([ @@ -395,6 +396,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L396 def test_whereami IRB.init_config(nil) workspace = IRB::WorkSpace.new(self) + IRB.conf[:VERBOSE] = false irb = IRB::Irb.new(workspace) IRB.conf[:MAIN_CONTEXT] = irb.context input = TestInputMethod.new([ -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/