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

Fix reversal of assertion result

This commit is contained in:
aycabta 2021-08-06 03:17:51 +09:00
parent cd57b39f79
commit 6414334d3c

View file

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