diff --git a/Tests/Task+TimeoutTests.swift b/Tests/Task+TimeoutTests.swift index 5f3d10da..fa656629 100644 --- a/Tests/Task+TimeoutTests.swift +++ b/Tests/Task+TimeoutTests.swift @@ -63,7 +63,7 @@ final class TaskTimeoutTests: XCTestCase { func testTimeoutCancels() async { // given let task = Task(timeout: 0.5) { - try? await Task.sleep(nanoseconds: 10_000_000_000) + try await Task.sleep(nanoseconds: 10_000_000_000) } // when