ruby-changes:65725
From: Nobuyoshi <ko1@a...>
Date: Fri, 2 Apr 2021 01:48:11 +0900 (JST)
Subject: [ruby-changes:65725] ccb0b7ab7d (master): [ruby/irb] Suppress verbose messages in the parallel test
https://git.ruby-lang.org/ruby.git/commit/?id=ccb0b7ab7d From ccb0b7ab7dd8667f9cd6d3d74483ffbc083d9c24 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 1 Apr 2021 23:22:05 +0900 Subject: [ruby/irb] Suppress verbose messages in the parallel test `:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/78604682d9 --- test/irb/test_cmd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 9bf78a4..8f46a27 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -381,8 +381,8 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L381 ]) IRB.init_config(nil) workspace = IRB::WorkSpace.new(self) - irb = IRB::Irb.new(workspace, input) IRB.conf[:VERBOSE] = false + irb = IRB::Irb.new(workspace, input) IRB.conf[:MAIN_CONTEXT] = irb.context irb.context.return_format = "=> %s\n" out, err = capture_output do @@ -398,8 +398,8 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L398 ]) IRB.init_config(nil) workspace = IRB::WorkSpace.new(self) - irb = IRB::Irb.new(workspace, input) IRB.conf[:VERBOSE] = false + irb = IRB::Irb.new(workspace, input) IRB.conf[:MAIN_CONTEXT] = irb.context irb.context.return_format = "=> %s\n" out, err = capture_output do -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/