Skip to content

Commit

Permalink
Fix compatibility with detailed_message missing on older Ruby.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed May 2, 2024
1 parent 79d3868 commit 77def30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/console/event/failure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class TestError < StandardError
def detailed_message(...)
"#{super}\nwith details"
"#{message}\nwith details"
end
end

Expand Down

0 comments on commit 77def30

Please sign in to comment.