diff options
Diffstat (limited to 'test/reline/test_history.rb')
-rw-r--r-- | test/reline/test_history.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reline/test_history.rb b/test/reline/test_history.rb index 53360409bc..ddf8fb1472 100644 --- a/test/reline/test_history.rb +++ b/test/reline/test_history.rb @@ -297,7 +297,7 @@ class Reline::History::Test < Reline::TestCase end def get_default_internal_encoding - if encoding = Reline::IOGate.encoding + if encoding = Reline.core.encoding encoding elsif RUBY_PLATFORM =~ /mswin|mingw/ Encoding.default_internal || Encoding::UTF_8 |