Skip to content

Commit

Permalink
Fix Lint/UnusedArgument in custom exception spec
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Dec 19, 2024
1 parent 6b884dd commit b837275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/exception_handler_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe "Kemal::ExceptionHandler" do
end

it "renders custom error for a child of a custom exception" do
error CustomExceptionType do |env, error|
error CustomExceptionType do |_, error|
"A custom exception of #{error.class} has occurred"
end

Expand Down

0 comments on commit b837275

Please sign in to comment.