-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation of tests on older macOS (#385)
### Motivation The tests fail to compile on anything older than macOS 13, because they use `Collection.split(separator:maxSplits:omittingEmptySubsequences:)`, which is only available in macOS 13+. ### Modifications Rather than use `->` in the stringified tests, use just `>`, which means the function resolves to `String.split(separator:maxSplits:omittingEmptySubsequences:)`, which is available on older platforms. ### Result Tests can be built on older platforms. ### Test Plan Manual verification.
- Loading branch information
1 parent
3eacb9c
commit 7f6baf7
Showing
1 changed file
with
19 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters