1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Stop using Ctrl+j to test on Windows

Because Ctrl+j and Enter are the same on Windows.

fa885ed449
This commit is contained in:
aycabta 2021-09-30 19:36:19 +09:00 committed by git
parent ff480f2953
commit 7c6ef27d6c

View file

@ -424,10 +424,10 @@ begin
def test_binding_for_vi_movement_mode
write_inputrc <<~LINES
set editing-mode vi
"\\C-j": vi-movement-mode
"\\C-a": vi-movement-mode
LINES
start_terminal(5, 30, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.')
write(":1234\C-jhhhi0")
write(":1234\C-ahhhi0")
close
assert_screen(<<~EOC)
Multiline REPL.