Skip to content

Commit

Permalink
Use autocomplete with show doc dialog that uses Reline::Key in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Sep 3, 2021
1 parent 02c4a8d commit 142fc53
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/irb/yamatanooroti/test_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ def teardown
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)
Expand All @@ -47,7 +45,6 @@ def test_launch
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)
Expand Down Expand Up @@ -87,7 +84,6 @@ def b; true; end
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)
Expand Down

0 comments on commit 142fc53

Please sign in to comment.