summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/readline/test_readline.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 215a94ec3d..802d5e7645 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -556,9 +556,9 @@ module BasetestReadline
end
end
assert interrupt_suppressed, "Should handle SIGINT correctly but raised interrupt.\nLog: #{log}\n----"
- rescue Timeout::Error => e
- assert false, "Timed out to handle SIGINT!\nLog: #{log}\nBacktrace:\n#{e.full_message(highlight: false)}\n----"
end
+ rescue Timeout::Error => e
+ assert false, "Timed out to handle SIGINT!\nLog: #{log}\nBacktrace:\n#{e.full_message(highlight: false)}\n----"
ensure
status = Process.wait2(pid).last
assert status.success?, "Unknown failure with exit status #{status}\nLog: #{log}\n----"