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:
parent
cd57b39f79
commit
6414334d3c
1 changed files with 1 additions and 1 deletions
|
@ -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]]
|
||||
|
|
Loading…
Add table
Reference in a new issue