[前][次][番号順一覧][スレッド一覧]

ruby-changes:65783

From: Nobuyoshi <ko1@a...>
Date: Mon, 5 Apr 2021 14:00:36 +0900 (JST)
Subject: [ruby-changes:65783] 4b92633043 (master): [ruby/irb] Suppress verbose messages in the parallel test

https://git.ruby-lang.org/ruby.git/commit/?id=4b92633043

From 4b926330430738a61c4f4307b1ead2232c2e22c1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 5 Apr 2021 12:17:44 +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/0dbe292979
---
 test/irb/test_cmd.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 044d852..5b63e56 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -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/

[前][次][番号順一覧][スレッド一覧]