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

Use test_mode on Reline::History::Test for encoding

This commit is contained in:
aycabta 2020-01-26 12:58:25 +09:00
parent c257d81186
commit 0aa5195262

View file

@ -2,6 +2,10 @@ require_relative 'helper'
require "reline/history"
class Reline::History::Test < Reline::TestCase
def setup
Reline.send(:test_mode)
end
def test_ancestors
assert_equal(Reline::History.ancestors.include?(Array), true)
end