Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make with_info_handler take rest args to fix upstream arity change #28

Merged

Conversation

paracycle
Copy link
Contributor

Fixes #27

The upstream with_info_handler method was changed to take an extra parameter, which is now breaking the implementation of the method in this gem. This commit fixes the issue by making the method take rest arguments, which will allow it to work with the upstream changes, and any other positional arguments that might be added in the future.

The upstream `with_info_handler` method was changed to take an extra parameter, which is now breaking the implementation of the method in this gem. This commit fixes the issue by making the method take rest arguments, which will allow it to work with the upstream changes, and any other positional arguments that might be added in the future.
@jeremyevans
Copy link
Owner

Thanks for the patch! I'll test and merge shortly, and release a new version after.

@jeremyevans jeremyevans merged commit cf967ab into jeremyevans:master Aug 14, 2024
13 of 15 checks passed
@jeremyevans
Copy link
Owner

minitest-hooks 1.5.2 has been released with this fix. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

minitest 5.25.0+ breaks minitest-hooks
2 participants