File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ ${SelfName}TestSuite.test("nilBaseAddress") {
181181
182182% if IsMutable:
183183${SelfName}TestSuite.test("copyFromEmptyBuffer") {
184+ guard #available(SwiftStdlib 5.7, *) else { return }
185+
184186% if IsRaw:
185187 var memory: UnsafeMutableRawPointer
186188 let empty = UnsafeRawBufferPointer(start: nil, count: 0)
@@ -453,9 +455,7 @@ UnsafeMutableBufferPointerTestSuite.test("Slice.withContiguousStorageIfAvailable
453455}
454456
455457UnsafeMutableRawBufferPointerTestSuite.test("Slice.withContiguousStorageIfAvailable") {
456- guard #available(SwiftStdlib 5.7, *) else {
457- return
458- }
458+ guard #available(SwiftStdlib 5.7, *) else { return }
459459
460460 for test in subscriptRangeTests {
461461 let c = test.collection.map({ UInt8($0.value/1000) })
You can’t perform that action at this time.
0 commit comments