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

Test with Xcode 14.0 and Swift 5.7 #245

Merged
merged 7 commits into from
Aug 25, 2022
Merged

Test with Xcode 14.0 and Swift 5.7 #245

merged 7 commits into from
Aug 25, 2022

Conversation

MaxDesiatov
Copy link
Collaborator

@MaxDesiatov MaxDesiatov commented Aug 15, 2022

The way the XML parser from Foundation treats errors differs between SDK versions, we have to handle this in our tests accordingly.

@MaxDesiatov MaxDesiatov marked this pull request as ready for review August 15, 2022 14:21
@MaxDesiatov MaxDesiatov requested a review from a team August 15, 2022 15:34
`<blah `
""")
if #available(iOS 16.0, tvOS 16.0, macOS 13.0, *) {
XCTAssertEqual(ctx.debugDescription, column7)
Copy link
Member

Choose a reason for hiding this comment

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

Do we (want to) guarantee error output from Foundation? If so, this PR alone seems to indicate we cannot.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This output seemed to be pretty stable up to this point, and I haven't found a different way to test the error context functionality end-to-end without being exposed to these caveats with how Foundation handle this.

Copy link
Member

@Joannis Joannis left a comment

Choose a reason for hiding this comment

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

I'm happy to merge this with 5.7 test support, but we do need to evaluate the errors at some point.

@MaxDesiatov
Copy link
Collaborator Author

Thanks, I've created #248 to track this.

@MaxDesiatov MaxDesiatov merged commit ffd257a into main Aug 25, 2022
@MaxDesiatov MaxDesiatov deleted the maxd/xcode-14.0 branch August 25, 2022 16:18
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