Use test encoding for TestRelineAsReadline and TestRelineAsReadlineHistory
This commit is contained in:
parent
1192393b3e
commit
e11800e114
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user