diff options
author | aycabta <aycabta@gmail.com> | 2020-01-26 12:58:25 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-01-26 12:58:25 +0900 |
commit | 0aa5195262d4193d3accf3e6b9bad236238b816b (patch) | |
tree | e3cc6ae673b6c538d746b2c5990e15fffd9b68c5 | |
parent | c257d811862b9e29ccff4305d836077835091112 (diff) | |
download | ruby-0aa5195262d4193d3accf3e6b9bad236238b816b.tar.gz |
Use test_mode on Reline::History::Test for encoding
-rw-r--r-- | test/reline/test_history.rb | 4 |
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 |