From 0aa5195262d4193d3accf3e6b9bad236238b816b Mon Sep 17 00:00:00 2001 From: aycabta Date: Sun, 26 Jan 2020 12:58:25 +0900 Subject: Use test_mode on Reline::History::Test for encoding --- test/reline/test_history.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/reline/test_history.rb') diff --git a/test/reline/test_history.rb b/test/reline/test_history.rb index 13d3d2f90b..189f2db86d 100644 --- a/test/reline/test_history.rb +++ b/test/reline/test_history.rb @@ -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 -- cgit v1.2.3