Skip to content

Add a fixedSource parameter to assertMacroExpansion #2015

New issue

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

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

Already on GitHub? # to your account

Closed
ahoppen opened this issue Aug 7, 2023 · 1 comment · Fixed by #2021
Closed

Add a fixedSource parameter to assertMacroExpansion #2015

ahoppen opened this issue Aug 7, 2023 · 1 comment · Fixed by #2021
Assignees

Comments

@ahoppen
Copy link
Member

ahoppen commented Aug 7, 2023

The assertParse function has a fixedSource parameter to check that the application of Fix-Its produces valid results and it has been a valuable tool so far. assertMacroExpansion could gain the same parameter to check that the macro’s Fix-Its work as expected.

@ahoppen
Copy link
Member Author

ahoppen commented Aug 8, 2023

Tracked in Apple’s issue tracker as rdar://113567656

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

Successfully merging a pull request may close this issue.

2 participants