Skip to content

Commit

Permalink
Fix reversal of assertion result
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Aug 5, 2021
1 parent cd57b39 commit 6414334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/readline/test_readline.rb
Expand Up @@ -541,7 +541,7 @@ def test_interrupt_in_other_thread
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]]
Expand Down

0 comments on commit 6414334

Please sign in to comment.