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") {
181
181
182
182
% if IsMutable:
183
183
${SelfName}TestSuite.test("copyFromEmptyBuffer") {
184
+ guard #available(SwiftStdlib 5.7, *) else { return }
185
+
184
186
% if IsRaw:
185
187
var memory: UnsafeMutableRawPointer
186
188
let empty = UnsafeRawBufferPointer(start: nil, count: 0)
@@ -453,9 +455,7 @@ UnsafeMutableBufferPointerTestSuite.test("Slice.withContiguousStorageIfAvailable
453
455
}
454
456
455
457
UnsafeMutableRawBufferPointerTestSuite.test("Slice.withContiguousStorageIfAvailable") {
456
- guard #available(SwiftStdlib 5.7, *) else {
457
- return
458
- }
458
+ guard #available(SwiftStdlib 5.7, *) else { return }
459
459
460
460
for test in subscriptRangeTests {
461
461
let c = test.collection.map({ UInt8($0.value/1000) })
You can’t perform that action at this time.
0 commit comments