From 1eb55e215a0e16634f8d7484f610580e246ee3de Mon Sep 17 00:00:00 2001 From: Code Ass Date: Fri, 30 Dec 2016 03:26:19 +0900 Subject: [PATCH] The "raise" with no arguments raises the exception in $! --- test/test_rake_application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_rake_application.rb b/test/test_rake_application.rb index 62bb4c6ac..5d5b5bd63 100644 --- a/test/test_rake_application.rb +++ b/test/test_rake_application.rb @@ -80,11 +80,11 @@ def test_display_exception_details_cause_loop begin begin raise "cause a" - rescue => a + rescue begin raise "cause b" rescue - raise a + raise end end rescue => ex