[ruby/reline] Remove an obsolete commented-out test

https://github.com/ruby/reline/commit/5354d02e03
This commit is contained in:
aycabta 2021-06-06 23:53:03 +09:00
Родитель 95a3cdade6
Коммит cf6f686d29
1 изменённых файлов: 0 добавлений и 25 удалений

Просмотреть файл

@ -2287,29 +2287,4 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase
assert_cursor(1)
assert_cursor_max(1)
end
=begin # TODO: move KeyStroke instance from Reline to LineEditor
def test_key_delete
input_keys('ab')
assert_byte_pointer_size('ab')
assert_cursor(2)
assert_cursor_max(2)
assert_line('ab')
[27, 91, 51, 126].each do |key|
@line_editor.input_key(key)
end
assert_byte_pointer_size('ab')
assert_cursor(2)
assert_cursor_max(2)
assert_line('ab')
input_keys("\C-b")
[27, 91, 51, 126].each do |key|
@line_editor.input_key(key)
end
assert_byte_pointer_size('a')
assert_cursor(1)
assert_cursor_max(1)
assert_line('a')
end
=end
end