mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Use Reline.test_mode in Reline's test too
This commit is contained in:
parent
f8732bd4d6
commit
ca435ed04a
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ require_relative 'helper'
|
|||
|
||||
class Reline::KeyActor::Emacs::Test < Reline::TestCase
|
||||
def setup
|
||||
Reline.send(:test_mode)
|
||||
@prompt = '> '
|
||||
@config = Reline::Config.new # Emacs mode is default
|
||||
@encoding = (RELINE_TEST_ENCODING rescue Encoding.default_external)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue