Skip to content

[test] Drop stdlib-redundant tests #1492

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 2 commits into from
Mar 29, 2018

Conversation

milseman
Copy link
Member

hasPrefix/hasSuffix is now available universally from the standard
library (it used to be Darwin only). As such, these tests are
redundant with the tests in the standard library (indeed they are
literally copy-pasted from the stdlib). As test methodology changes,
maintaining these across projects and platforms is troublesome.

hasPrefix/hasSuffix is now available universally from the standard
library (it used to be Darwin only). As such, these tests are
redundant with the tests in the standard library (indeed they are
literally copy-pasted from the stdlib). As test methodology changes,
maintaining these across projects and platforms is troublesome.
@milseman milseman requested a review from airspeedswift March 28, 2018 21:43
@milseman
Copy link
Member Author

@airspeedswift I believe you made the changes to make this test redundant.

@milseman
Copy link
Member Author

@swift-ci please test

@milseman
Copy link
Member Author

Argh, I couldn't build this because of another issue locally. I will download a toolchain and try again on Mac.

@milseman
Copy link
Member Author

@swift-ci please test

1 similar comment
@milseman
Copy link
Member Author

@swift-ci please test

@milseman
Copy link
Member Author

Small string merged. This will be needed for CI.

@parkera @phausler @Catfish-Man does this look ok? Can I merge after the builder?

@milseman
Copy link
Member Author

@shahmishal @aschwaighofer this might be needed to unbreak CI Linux. Hoping to get a LGTM from @parker, but worse case we merge to unbreak CI, he can revert, and I’ll have to bring 🍻🍺 to apologize

@shahmishal shahmishal merged commit 58f1b73 into swiftlang:master Mar 29, 2018
@shahmishal
Copy link
Member

Merged to unblock CI.

@phausler
Copy link
Contributor

Btw this test was leftover from before the id to any transition where it was previously testing NSString and not String. Since we fixed the return types of the APIs to favor structures in Foundation this test is vestigial.

@milseman milseman deleted the test_redundancy_test branch March 29, 2018 03:31
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