[ruby/reline] Cyrillic chars are now forced to be displayed in full-width on Windows

So testing is no longer necessary.

https://github.com/ruby/reline/commit/c59589548b
This commit is contained in:
aycabta 2021-10-04 03:27:24 +09:00 коммит произвёл git
Родитель 6966c3ff44
Коммит 2c2a017fe8
1 изменённых файлов: 0 добавлений и 22 удалений

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

@ -752,28 +752,6 @@ begin
EOC
end
def test_cyrillic_chars
omit unless Reline::IOGate.win?
start_terminal(50, 50, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.')
write("`chcp 850`\n")
write("`chcp`\n")
write("def гопота; 3; end\n")
write("гопота\n")
close
assert_screen(<<~'EOC')
Multiline REPL.
prompt> `chcp 850`
=> "Active code page: 850\n"
prompt> `chcp`
=> "Active code page: 850\n"
prompt> def гопота; 3; end
=> :гопота
prompt> гопота
=> 3
prompt>
EOC
end
def test_with_newline
omit if Reline::IOGate.win?
cmd = %Q{ruby -e 'print(%Q{abc def \\e\\r})' | ruby -I#{@pwd}/lib -rreline -e 'p Reline.readline(%{> })'}