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 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
13
- // RUN: %target-run-stdlib-swift -enable-experimental-feature LifetimeDependence
13
+ // RUN: %target-run-stdlib-swift
14
14
15
15
// REQUIRES: executable_test
16
16
// REQUIRES: objc_interop
17
- // REQUIRES: swift_feature_LifetimeDependence
18
17
19
18
import StdlibUnittest
20
19
@@ -24,6 +23,7 @@ var suite = TestSuite("EagerLazyBridgingTests")
24
23
defer { runAllTests ( ) }
25
24
26
25
suite. test ( " Bridged NSArray without direct memory sharing " ) {
26
+ guard #available( SwiftStdlib 6 . 2 , * ) else { return }
27
27
28
28
var arr = ( 0 ..< 100 ) . map ( { _ in NSObject ( ) as AnyObject } )
29
29
let identifiers = arr. map ( ObjectIdentifier . init)
@@ -45,11 +45,7 @@ suite.test("Bridged NSArray without direct memory sharing") {
45
45
}
46
46
47
47
suite. 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 {
53
49
guard #available( SwiftStdlib 6 . 2 , * ) else { return }
54
50
55
51
var arr = ( 0 ..< 100 ) . map ( { _ in NSObject ( ) as AnyObject } )
You can’t perform that action at this time.
0 commit comments