Skip to content

Commit

Permalink
Use test_mode on Reline::History::Test for encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Jan 26, 2020
1 parent c257d81 commit 0aa5195
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/reline/test_history.rb
Expand Up @@ -2,6 +2,10 @@
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
Expand Down

0 comments on commit 0aa5195

Please sign in to comment.