Skip to content

Commit cb9c9c6

Browse files
committed
Disable autocomplete in yamatanooroti test
1 parent 6370a5d commit cb9c9c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/irb/yamatanooroti/test_rendering.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def teardown
2828
def test_launch
2929
write_irbrc <<~'LINES'
3030
puts 'start IRB'
31+
IRB.conf[:USE_AUTOCOMPLETE] = false
3132
LINES
3233
start_terminal(25, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
3334
write(<<~EOC)
@@ -45,6 +46,7 @@ def test_launch
4546
def test_multiline_paste
4647
write_irbrc <<~'LINES'
4748
puts 'start IRB'
49+
IRB.conf[:USE_AUTOCOMPLETE] = false
4850
LINES
4951
start_terminal(25, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
5052
write(<<~EOC)
@@ -84,6 +86,7 @@ def b; true; end
8486
def test_evaluate_each_toplevel_statement_by_multiline_paste
8587
write_irbrc <<~'LINES'
8688
puts 'start IRB'
89+
IRB.conf[:USE_AUTOCOMPLETE] = false
8790
LINES
8891
start_terminal(40, 80, %W{ruby -I#{@pwd}/lib #{@pwd}/exe/irb}, startup_message: 'start IRB')
8992
write(<<~EOC)

0 commit comments

Comments
 (0)