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

ruby-changes:60946

From: Nobuyoshi <ko1@a...>
Date: Thu, 30 Apr 2020 11:58:48 +0900 (JST)
Subject: [ruby-changes:60946] 9d1b272b01 (master): [ruby/irb] Suppress messages switching inspect mode

https://git.ruby-lang.org/ruby.git/commit/?id=9d1b272b01

From 9d1b272b01079b95f377b7e6adc009a0d5b293c7 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 30 Apr 2020 11:56:52 +0900
Subject: [ruby/irb] Suppress messages switching inspect mode


diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 92b65dd..daf6375 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -31,6 +31,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L31
       IRB.setup(__FILE__, argv: [])
       IRB.conf[:USE_MULTILINE] = true
       IRB.conf[:USE_SINGLELINE] = false
+      IRB.conf[:VERBOSE] = false
       workspace = IRB::WorkSpace.new(self)
       irb = IRB::Irb.new(workspace)
       IRB.conf[:MAIN_CONTEXT] = irb.context
@@ -49,6 +50,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L50
       IRB.setup(__FILE__, argv: [])
       IRB.conf[:USE_MULTILINE] = false
       IRB.conf[:USE_SINGLELINE] = true
+      IRB.conf[:VERBOSE] = false
       workspace = IRB::WorkSpace.new(self)
       irb = IRB::Irb.new(workspace)
       IRB.conf[:MAIN_CONTEXT] = irb.context
@@ -70,6 +72,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L72
       IRB.setup(__FILE__, argv: [])
       IRB.conf[:USE_MULTILINE] = true
       IRB.conf[:USE_SINGLELINE] = false
+      IRB.conf[:VERBOSE] = false
       workspace = IRB::WorkSpace.new(self)
       irb = IRB::Irb.new(workspace)
       IRB.conf[:MAIN_CONTEXT] = irb.context
@@ -95,6 +98,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L98
       IRB.setup(__FILE__, argv: [])
       IRB.conf[:USE_MULTILINE] = false
       IRB.conf[:USE_SINGLELINE] = true
+      IRB.conf[:VERBOSE] = false
       workspace = IRB::WorkSpace.new(self)
       irb = IRB::Irb.new(workspace)
       IRB.conf[:MAIN_CONTEXT] = irb.context
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

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