summaryrefslogtreecommitdiff
path: root/test/reline/test_history.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/reline/test_history.rb')
-rw-r--r--test/reline/test_history.rb4
1 files changed, 4 insertions, 0 deletions
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