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:
parent
c257d81186
commit
0aa5195262
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue