mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Reset Reline.point
TestRelineAsReadline#test_insert_text expects Readline.point == 0 at the beginning of the test, but a test violate this assumption.
This commit is contained in:
parent
4fd51f848a
commit
648eb31b9a
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ class Reline::WithinPipeTest < Reline::TestCase
|
|||
def teardown
|
||||
Reline.input = STDIN
|
||||
Reline.output = STDOUT
|
||||
Reline.point = 0
|
||||
@reader.close
|
||||
@writer.close
|
||||
@output.close
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue