Use test encoding for TestRelineAsReadline and TestRelineAsReadlineHistory

This commit is contained in:
aycabta 2021-06-21 22:09:24 +09:00
parent 1192393b3e
commit e11800e114
2 changed files with 2 additions and 2 deletions

View File

@ -810,7 +810,7 @@ class TestRelineAsReadline < Test::Unit::TestCase
if RUBY_PLATFORM =~ /mswin|mingw/
Encoding.default_internal || Encoding::UTF_8
else
super
Reline::IOGate.encoding
end
end
end if defined?(Reline) && ENV["TEST_READLINE_OR_RELINE"] != "Readline"

View File

@ -281,7 +281,7 @@ class TestRelineAsReadlineHistory < Test::Unit::TestCase
if RUBY_PLATFORM =~ /mswin|mingw/
Encoding.default_internal || Encoding::UTF_8
else
super
Reline::IOGate.encoding
end
end
end if defined?(Reline) && ENV["TEST_READLINE_OR_RELINE"] != "Readline"