Skip to content

Commit 2a628c9

Browse files
committed
Fix build
1 parent 396a754 commit 2a628c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AsyncHelpersTests/AsyncHelpersTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ final class AsyncHelpersTests: XCTestCase {
4141

4242
// Wait for tasks to have run; this is a hack but I can't think of any better way.
4343
// Can't use a lock or semaphore; the tasks will block after calling the awaiter until it's trigger.
44-
try await Task.sleep(for: .milliseconds(10))
44+
try await Task.sleep(nanoseconds: 100_000_000)
4545

4646
await awaiter.trigger()
4747
#if canImport(Darwin) || swift(>=5.10)

0 commit comments

Comments
 (0)