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

Associate comment details on #expect w/ test issue #1025

Merged

Conversation

plemarquand
Copy link
Contributor

If a swift-testing #expect macro has preceding comments they are sent along with the expectation failure text as entries in the EventMessage array. Pull them out of the array so they don't appear as their own separate issues and append them to the actual issue text.

Also fixes up some of the issue message colorization to be more consistent with how swift-testing behaves on the command line.

If a swift-testing #expect macro has preceding comments they are sent
along with the expectation failure text as entries in the EventMessage
array. Pull them out of the array so they don't appear as their own
separate issues and append them to the actual issue text.

Also fixes up some of the issue message colorization to be more
consistent with how swift-testing behaves on the command line.
@plemarquand plemarquand force-pushed the swift-testing-comment-parsing branch from 40f475d to 1cae5e1 Compare August 22, 2024 21:07
@plemarquand plemarquand merged commit e1f5139 into swiftlang:main Aug 26, 2024
8 checks passed
@plemarquand plemarquand deleted the swift-testing-comment-parsing branch August 26, 2024 18:28
@plemarquand plemarquand added the needs verification Issue has been fixed, but requires verification before closing label Aug 27, 2024
@matthewbastien
Copy link
Member

Verified with d6c91dd

@matthewbastien matthewbastien removed the needs verification Issue has been fixed, but requires verification before closing label Aug 27, 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.

3 participants