[ruby/reline] windows: test_yamatanooroti fix

windows can't create too narrow and tall window.

https://github.com/ruby/reline/commit/20b5f2f6fc
This commit is contained in:
YO4 2022-01-03 23:06:47 +09:00 коммит произвёл git
Родитель e554b17c60
Коммит e3b0c8c106
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -948,7 +948,7 @@ begin
def test_dialog_with_fullwidth_chars
ENV['RELINE_TEST_PROMPT'] = '> '
start_terminal(30, 5, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --dialog fullwidth,scrollkey,scrollbar}, startup_message: 'Multiline REPL.')
start_terminal(20, 5, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --dialog fullwidth,scrollkey,scrollbar}, startup_message: 'Multiline REPL.')
6.times{ write('j') }
close
assert_screen(<<~'EOC')
@ -965,7 +965,7 @@ begin
def test_dialog_with_fullwidth_chars_split
ENV['RELINE_TEST_PROMPT'] = '> '
start_terminal(30, 6, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --dialog fullwidth,scrollkey,scrollbar}, startup_message: 'Multiline REPL.')
start_terminal(20, 6, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --dialog fullwidth,scrollkey,scrollbar}, startup_message: 'Multiline REPL.')
6.times{ write('j') }
close
assert_screen(<<~'EOC')