зеркало из https://github.com/github/ruby.git
Call Reline-specific method in helper file
This commit is contained in:
Родитель
046fd3ac8c
Коммит
215fd1bf2c
|
@ -21,4 +21,8 @@ else
|
|||
Object.send(:remove_const, :Readline) if Object.const_defined?(:Readline)
|
||||
Object.const_set(:Readline, Reline)
|
||||
end
|
||||
|
||||
def finish_using_lib_reline
|
||||
Reline.test_reset
|
||||
end
|
||||
end
|
||||
|
|
|
@ -807,7 +807,7 @@ class TestRelineAsReadline < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def teardown
|
||||
Reline.test_reset
|
||||
finish_using_lib_reline
|
||||
end
|
||||
|
||||
def get_default_internal_encoding
|
||||
|
|
|
@ -278,7 +278,7 @@ class TestRelineAsReadlineHistory < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def teardown
|
||||
Reline.test_reset
|
||||
finish_using_lib_reline
|
||||
end
|
||||
|
||||
def get_default_internal_encoding
|
||||
|
|
Загрузка…
Ссылка в новой задаче