We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7b00a commit 78fad96Copy full SHA for 78fad96
Tests/Task+TimeoutTests.swift
@@ -63,7 +63,7 @@ final class TaskTimeoutTests: XCTestCase {
63
func testTimeoutCancels() async {
64
// given
65
let task = Task(timeout: 0.5) {
66
- try? await Task.sleep(nanoseconds: 10_000_000_000)
+ try await Task.sleep(nanoseconds: 10_000_000_000)
67
}
68
69
// when
0 commit comments