Skip to content

Commit 99f6ed3

Browse files
committed
Remove more workarounds
- The hidden-API bug with MutableSpan has been resolved
1 parent 59ce19d commit 99f6ed3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tests/FoundationEssentialsTests/DataTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,6 @@ private final class DataTests {
16711671

16721672
@available(FoundationSpan 6.2, *)
16731673
@Test func inlineDataMutableSpan() throws {
1674-
#if !canImport(Darwin) || FOUNDATION_FRAMEWORK
16751674
var source = Data()
16761675
var span = source.mutableSpan
16771676
var isEmpty = span.isEmpty
@@ -1690,12 +1689,10 @@ private final class DataTests {
16901689
var sub = span.extracting(i ..< i+1)
16911690
sub.update(repeating: v)
16921691
#expect(source[i] == v)
1693-
#endif
16941692
}
16951693

16961694
@available(FoundationSpan 6.2, *)
16971695
@Test func inlineSliceDataMutableSpan() throws {
1698-
#if !canImport(Darwin) || FOUNDATION_FRAMEWORK
16991696
var source = Data(0..<100)
17001697
let count = source.count
17011698
var span = source.mutableSpan
@@ -1704,7 +1701,6 @@ private final class DataTests {
17041701
var sub = span.extracting(i..<i+1)
17051702
sub.update(repeating: .max)
17061703
#expect(source[i] == .max)
1707-
#endif
17081704
}
17091705

17101706
@available(FoundationSpan 6.2, *)

0 commit comments

Comments
 (0)