ruby-changes:64380
From: Nobuyoshi <ko1@a...>
Date: Sun, 20 Dec 2020 17:16:47 +0900 (JST)
Subject: [ruby-changes:64380] 0fad9a9e30 (master): Set non-verbose mode as well as tty mode
https://git.ruby-lang.org/ruby.git/commit/?id=0fad9a9e30 From 0fad9a9e30d3dd362d9567284284206e1a476920 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 20 Dec 2020 17:10:11 +0900 Subject: Set non-verbose mode as well as tty mode diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 029dcbe..699c9cd 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -160,6 +160,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L160 PROMPT_N: '> ' } } + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :DEFAULT IRB.conf[:MEASURE] = false input = TestInputMethod.new([ @@ -188,6 +189,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L189 PROMPT_N: '> ' } } + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :DEFAULT IRB.conf[:MEASURE] = true input = TestInputMethod.new([ @@ -214,6 +216,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L216 PROMPT_N: '> ' } } + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :DEFAULT IRB.conf[:MEASURE] = true IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| @@ -247,6 +250,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L250 PROMPT_N: '> ' } } + IRB.conf[:VERBOSE] = false IRB.conf[:PROMPT_MODE] = :DEFAULT IRB.conf[:MEASURE] = false IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/