Skip to content

Commit

Permalink
Use test encoding for TestRelineAsReadline and TestRelineAsReadlineHi…
Browse files Browse the repository at this point in the history
…story
  • Loading branch information
aycabta committed Jun 21, 2021
1 parent 1192393 commit e11800e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/readline/test_readline.rb
Expand Up @@ -810,7 +810,7 @@ def get_default_internal_encoding
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"
2 changes: 1 addition & 1 deletion test/readline/test_readline_history.rb
Expand Up @@ -281,7 +281,7 @@ def get_default_internal_encoding
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"

0 comments on commit e11800e

Please sign in to comment.