Skip to content

Add convenience accessor in tests to get a full diagnostic report #1630

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
Aug 17, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 15, 2024

This simplifies tests a little bit

@ahoppen
Copy link
Member Author

ahoppen commented Aug 15, 2024

@swift-ci Please test

return
}
let diagnostics = fullReport.items
let diagnostics = try XCTUnwrap(report.fullReport?.items)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could use .only here too

Copy link
Member Author

Choose a reason for hiding this comment

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

I’ll include that in a follow-up PR.

@ahoppen ahoppen merged commit 32b413e into swiftlang:main Aug 17, 2024
3 checks passed
@ahoppen ahoppen deleted the full-diag-report branch August 17, 2024 04:23
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