File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class << public_raiser
7474 end
7575
7676 it "re-raises a previously rescued exception with overwriting the cause when it's explicitly specified with :cause option" do
77- check = -> raiser , re_raiser_with_cause do
77+ check = -> ( ( raiser , re_raiser_with_cause ) ) do # rubocop:disable Style/StabbyLambdaParentheses
7878 e4 = RuntimeError . new ( "Error 4" )
7979 begin
8080 begin
@@ -98,7 +98,7 @@ class << public_raiser
9898 end
9999
100100 it "re-raises a previously rescued exception without overwriting the cause when it's explicitly specified with a :cause option that has nil value" do
101- check = -> raiser , re_raiser_with_cause do
101+ check = -> ( ( raiser , re_raiser_with_cause ) ) do # rubocop:disable Style/StabbyLambdaParentheses
102102 begin
103103 begin
104104 begin
You can’t perform that action at this time.
0 commit comments