1
0
Fork 0
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:
Koichi Sasada 2020-03-02 14:42:33 +09:00
parent 4fd51f848a
commit 648eb31b9a

View file

@ -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