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

ruby-changes:67573

From: aycabta <ko1@a...>
Date: Fri, 3 Sep 2021 04:28:48 +0900 (JST)
Subject: [ruby-changes:67573] 864b40176d (master): [ruby/irb] Disable autocomplete in yamatanooroti test

https://git.ruby-lang.org/ruby.git/commit/?id=864b40176d

From 864b40176de37f01411fb104997a693d5c419b6a Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Fri, 3 Sep 2021 02:41:07 +0900
Subject: [ruby/irb] Disable autocomplete in yamatanooroti test

https://github.com/ruby/irb/commit/cb9c9c64df
---
 test/irb/yamatanooroti/test_rendering.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/irb/yamatanooroti/test_rendering.rb b/test/irb/yamatanooroti/test_rendering.rb
index bacc26b..b1653f3 100644
--- a/test/irb/yamatanooroti/test_rendering.rb
+++ b/test/irb/yamatanooroti/test_rendering.rb
@@ -28,6 +28,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L28
     def test_launch
       write_irbrc <<~'LINES'
         puts 'start IRB'
+        IRB.conf[:USE_AUTOCOMPLETE] = false
       LINES
       start_terminal(25, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
       write(<<~EOC)
@@ -45,6 +46,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L46
     def test_multiline_paste
       write_irbrc <<~'LINES'
         puts 'start IRB'
+        IRB.conf[:USE_AUTOCOMPLETE] = false
       LINES
       start_terminal(25, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
       write(<<~EOC)
@@ -84,6 +86,7 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L86
     def test_evaluate_each_toplevel_statement_by_multiline_paste
       write_irbrc <<~'LINES'
         puts 'start IRB'
+        IRB.conf[:USE_AUTOCOMPLETE] = false
       LINES
       start_terminal(40, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
       write(<<~EOC)
-- 
cgit v1.1


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

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