Fix reversal of assertion result

This commit is contained in:
aycabta 2021-08-06 03:17:51 +09:00
Родитель cd57b39f79
Коммит 6414334d3c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -541,7 +541,7 @@ module BasetestReadline
end
end
rescue Timeout::Error
assert true, "Timed out to handle SIGINT.\nLog: #{log}\n----"
assert false, "Timed out to handle SIGINT.\nLog: #{log}\n----"
asserted = true
end
[log, Process.wait2(pid)[1]]