Skip to content

Commit ab5fecb

Browse files
committed
Fix build failure
1 parent 2dede55 commit ab5fecb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Tests/FoundationEssentialsTests/DataTests.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,14 +1943,6 @@ private final class DataTests {
19431943
#expect(0 == offsets[0], "composing two dispatch_data should enumerate as structural data with the first offset as the location of the region")
19441944
#expect(dataToEncode.count == offsets[1], "composing two dispatch_data should enumerate as structural data with the first offset as the location of the region")
19451945
}
1946-
1947-
@Test func rangeOfSlice() {
1948-
let data = "FooBar".data(using: .ascii)!
1949-
let slice = data[3...] // Bar
1950-
1951-
let range = slice.range(of: "a".data(using: .ascii)!)
1952-
#expect(range == 4..<5 as Range<Data.Index>)
1953-
}
19541946
#endif
19551947
}
19561948

0 commit comments

Comments
 (0)