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

Default arguments in record() test helper #5

Merged
merged 1 commit into from Dec 31, 2020

Conversation

joemasilotti
Copy link
Member

This PR removes the need to add #function to each record() call, instead opting to use a default argument. It splits out the protocol implementation to an extension to more clearly show what was added for tests.

Also, it cleans up whitespace-only lines.

@zachwaugh
Copy link
Contributor

Nice simplification, thanks!

@zachwaugh zachwaugh merged commit de7a999 into hotwired:main Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants