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

Allow trailing commas to work for file snapshots #454

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

max-sixty
Copy link
Collaborator

This was implemented for some macros but not others (possibly this was my mistake when simplifying the macros...). This centralizes their handling in two central macros.

Inline macros don't work, because of how we replace the values, so we still need to fix those. But I ran out of time on this so pushed the partial fix.

This was implemented for some macros but not others (possibly this was my mistake when simpliyfing the macros...). This centralizes their handling in two central macros.

FYI I'm 80% confident I've handled all cases -- not sure how else they could get through, but any reports of misses are welcome...
@mitsuhiko mitsuhiko merged commit d4cbd48 into mitsuhiko:master Mar 26, 2024
6 checks passed
@max-sixty max-sixty deleted the trailing-comma branch March 26, 2024 18:02
narpfel added a commit to narpfel/insta that referenced this pull request Apr 3, 2024
narpfel added a commit to narpfel/insta that referenced this pull request Apr 3, 2024
narpfel added a commit to narpfel/insta that referenced this pull request Apr 3, 2024
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.

2 participants