зеркало из https://github.com/github/ruby.git
Fix reversal of assertion result
This commit is contained in:
Родитель
cd57b39f79
Коммит
6414334d3c
|
@ -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]]
|
||||
|
|
Загрузка…
Ссылка в новой задаче