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

ruby-changes:67592

From: aycabta <ko1@a...>
Date: Sat, 4 Sep 2021 02:32:17 +0900 (JST)
Subject: [ruby-changes:67592] f6bc4b9b97 (master): [ruby/irb] Use autocomplete with show doc dialog that uses Reline::Key in tests

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

From f6bc4b9b977d6bc14bba570fce2ded6c046277ac Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sat, 4 Sep 2021 02:22:19 +0900
Subject: [ruby/irb] Use autocomplete with show doc dialog that uses
 Reline::Key in tests

https://github.com/ruby/irb/commit/142fc53e9c
---
 test/irb/yamatanooroti/test_rendering.rb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/test/irb/yamatanooroti/test_rendering.rb b/test/irb/yamatanooroti/test_rendering.rb
index b1d52dd..bacc26b 100644
--- a/test/irb/yamatanooroti/test_rendering.rb
+++ b/test/irb/yamatanooroti/test_rendering.rb
@@ -26,10 +26,8 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L26
     end
 
     def test_launch
-      # TODO Remove the disabling autocomplete after new versoin of reline gem is released.
       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)
@@ -47,7 +45,6 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L45
     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)
@@ -87,7 +84,6 @@ begin https://github.com/ruby/ruby/blob/trunk/test/irb/yamatanooroti/test_rendering.rb#L84
     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/

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