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:
parent
ff480f2953
commit
7c6ef27d6c
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue