1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Wait for output results to test correctly

This commit is contained in:
aycabta 2021-12-25 00:20:11 +09:00
parent 969bdc6f07
commit a88169bbe9

View file

@ -534,7 +534,7 @@ module BasetestReadline
loop do
c = _out.read(1)
log << c if c
break if log.include?('input>')
break if log.include?('input> ')
end
log << "** SIGINT **"
Process.kill(:INT, pid)