Skip to content

Fix StringifyMacro's interpolation test #2259

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

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

stephencelis
Copy link
Contributor

While bringing in the latest macro tests into our MacroTesting project here, I noticed a regression in the stringify macro's test. The original test in the macro template asserts that raw interpolation is preserved by the macro, but it seems that this test accidentally is interpolating the XCTestCase's name property into the assertion instead.

@stephencelis
Copy link
Contributor Author

/cc @Matejkob

@kimdv
Copy link
Contributor

kimdv commented Oct 4, 2023

@swift-ci please test

Copy link
Contributor

@Matejkob Matejkob left a comment

Choose a reason for hiding this comment

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

Thank you for doin' this! ❤️

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @stephencelis.

@ahoppen ahoppen merged commit 1b7b2db into swiftlang:main Oct 4, 2023
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.

4 participants