mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Disable autocompletion in tests
https://github.com/ruby/reline/commit/9b1913567a
This commit is contained in:
parent
3a2e2a6848
commit
24a26db795
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ class Reline::KeyActor::Emacs::Test < Reline::TestCase
|
|||
Reline.send(:test_mode)
|
||||
@prompt = '> '
|
||||
@config = Reline::Config.new # Emacs mode is default
|
||||
@config.autocompletion = false
|
||||
Reline::HISTORY.instance_variable_set(:@config, @config)
|
||||
Reline::HISTORY.clear
|
||||
@encoding = Reline::IOGate.encoding
|
||||
|
|
Loading…
Reference in a new issue