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

Remove workaround encoding modification

This commit is contained in:
aycabta 2019-12-09 14:21:05 +09:00
parent a14c01441b
commit 07664f3aec

View file

@ -587,9 +587,7 @@ module BasetestReadline
Readline.input = r
Readline.output = null
Readline.completion_proc = ->(text) do
['abcde', 'abc12'].map { |i|
i.encode(get_default_internal_encoding)
}
['abcde', 'abc12']
end
w.write("a\t\n")
w.flush