Skip to content

Commit

Permalink
Fixed unit test build for macOS Big Sur
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Dec 14, 2023
1 parent 6496c74 commit d131904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/OTCoreTests/Extensions/Swift/Concurrency Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class Extensions_Swift_Concurrency_Tests: XCTestCase {
func testWithOrderedTaskGroup() async {
let input = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J"]

let output = await withOrderedTaskGroup(sequence: input) { element in
let output: [String] = await withOrderedTaskGroup(sequence: input) { element in
usleep(UInt32.random(in: 1 ... 10) * 1000)
return element
}
Expand Down

0 comments on commit d131904

Please sign in to comment.