mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Test] Use the SwiftStdlib 5.5 macro in Concurrency tests
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// UNSUPPORTED: linux
|
||||
// XFAIL: windows
|
||||
|
||||
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
|
||||
@available(SwiftStdlib 5.5, *)
|
||||
func test_taskGroup_is_asyncSequence() async {
|
||||
print(#function)
|
||||
|
||||
@@ -34,7 +34,7 @@ func test_taskGroup_is_asyncSequence() async {
|
||||
print("result: \(sum)")
|
||||
}
|
||||
|
||||
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
|
||||
@available(SwiftStdlib 5.5, *)
|
||||
func test_throwingTaskGroup_is_asyncSequence() async throws {
|
||||
print(#function)
|
||||
|
||||
@@ -58,7 +58,7 @@ func test_throwingTaskGroup_is_asyncSequence() async throws {
|
||||
print("result: \(sum)")
|
||||
}
|
||||
|
||||
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
|
||||
@available(SwiftStdlib 5.5, *)
|
||||
@main struct Main {
|
||||
static func main() async {
|
||||
await test_taskGroup_is_asyncSequence()
|
||||
|
||||
Reference in New Issue
Block a user