Skip to content

[SR-999] Add dot to NSString.stringByAppendingPathExtension() result #295

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
Mar 22, 2016

Conversation

seabaylea
Copy link
Contributor

This is for SR-999 which reports that stringByAppendingPathExtension() and stringByDeletingPathExtension() are failing to add/remove the 'dot' before the extension.

I've implemented tests that match the examples given in the API spec, along with an additional test including a tilda, and the modified the relevant functions in NSPathUtilities.

@phausler
Copy link
Contributor

looks good to me, the tests seem to cover the issue well.

phausler added a commit that referenced this pull request Mar 22, 2016
[SR-999] Add dot to NSString.stringByAppendingPathExtension() result
@phausler phausler merged commit 566ffd7 into swiftlang:master Mar 22, 2016
@seabaylea seabaylea deleted the sr-999 branch March 22, 2016 14:30
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