Commit c488e8f
authored
Restrict use of a new overload of
We have one test that uses a newer overload of
[`contains()`](https://developer.apple.com/documentation/swift/collection/contains(_:))
that doesn't exist on older Apple platforms. This PR ensures that our
use of that method is constrained to platforms that have it.
### Checklist:
- [ ] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [ ] If public symbols are renamed or modified, DocC references should
be updated.contains() to Apple platforms that have it. (#970)1 parent e76a44f commit c488e8f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| |||
0 commit comments