mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 19:44:01 +02:00
[ruby/irb] Use autocomplete with show doc dialog that uses Reline::Key in tests
142fc53e9c
This commit is contained in:
parent
b7e2f7759d
commit
f6bc4b9b97
1 changed files with 0 additions and 4 deletions
|
@ -26,10 +26,8 @@ begin
|
|||
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
|
|||
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
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue