Use test_mode on Reline::History::Test for encoding
This commit is contained in:
parent
c257d81186
commit
0aa5195262
@ -2,6 +2,10 @@ require_relative 'helper'
|
|||||||
require "reline/history"
|
require "reline/history"
|
||||||
|
|
||||||
class Reline::History::Test < Reline::TestCase
|
class Reline::History::Test < Reline::TestCase
|
||||||
|
def setup
|
||||||
|
Reline.send(:test_mode)
|
||||||
|
end
|
||||||
|
|
||||||
def test_ancestors
|
def test_ancestors
|
||||||
assert_equal(Reline::History.ancestors.include?(Array), true)
|
assert_equal(Reline::History.ancestors.include?(Array), true)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user