File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1010//
1111//===----------------------------------------------------------------------===//
1212
13- // RUN: %target-run-stdlib-swift -enable-experimental-feature LifetimeDependence
13+ // RUN: %target-run-stdlib-swift
1414
1515// REQUIRES: executable_test
1616// REQUIRES: objc_interop
17- // REQUIRES: swift_feature_LifetimeDependence
1817
1918import StdlibUnittest
2019
@@ -24,6 +23,7 @@ var suite = TestSuite("EagerLazyBridgingTests")
2423defer { runAllTests ( ) }
2524
2625suite. test ( " Bridged NSArray without direct memory sharing " ) {
26+ guard #available( SwiftStdlib 6 . 2 , * ) else { return }
2727
2828 var arr = ( 0 ..< 100 ) . map ( { _ in NSObject ( ) as AnyObject } )
2929 let identifiers = arr. map ( ObjectIdentifier . init)
@@ -45,11 +45,7 @@ suite.test("Bridged NSArray without direct memory sharing") {
4545}
4646
4747suite. test ( " Bridged NSArray as Span " )
48- . skip ( . custom(
49- { if #available( SwiftStdlib 6 . 2 , * ) { false } else { true } } ,
50- reason: " Requires Swift 6.2's standard library "
51- ) )
52- . code {
48+ . require ( . stdlib_6_2) . code {
5349 guard #available( SwiftStdlib 6 . 2 , * ) else { return }
5450
5551 var arr = ( 0 ..< 100 ) . map ( { _ in NSObject ( ) as AnyObject } )
You can’t perform that action at this time.
0 commit comments