Skip to content

Conversation

@compnerd
Copy link
Member

@compnerd compnerd commented Sep 2, 2023

Windows supports \ and / as path separators. Account for both in computing the basename. This repairs a few test failures on Windows.

@compnerd
Copy link
Member Author

compnerd commented Sep 2, 2023

@swift-ci please test

@compnerd compnerd mentioned this pull request Sep 2, 2023
9 tasks
Windows supports `\` and `/` as path separators.  Account for both in
computing the basename.  This repairs a few test failures on Windows.
There is no real reason to split the behaviour here as this is a file
system primitive.  Special case Apple and Linux platforms to address
feedback.
@compnerd
Copy link
Member Author

compnerd commented Sep 3, 2023

@swift-ci please test

@compnerd compnerd merged commit 550a0ce into swiftlang:main Sep 3, 2023
@compnerd compnerd deleted the split-em-up branch September 3, 2023 23:43
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