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

Simplify test macros #4371

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Conversation

GearsDatapacks
Copy link
Member

I noticed that a the various test macros were somewhat inconsistent. Some allowed you to specify a second module, some had a assert_*_with_module variant.
I this PR, I merged all the assert_*_with_module macros into their regular versions. I've also updated the snapshot format of a few of them to make them consistent with the rest of the snapshots.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better! Thank you

@lpil lpil merged commit 3e01318 into gleam-lang:main Mar 19, 2025
12 checks passed
@GearsDatapacks GearsDatapacks deleted the simplify-test-macros branch March 19, 2025 15:21
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