We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b65be8 commit 27ce902Copy full SHA for 27ce902
1 file changed
Tests/TaskManagerTests/TaskManagerTests.swift
@@ -1,3 +1,4 @@
1
+import t
2
import XCTest
3
@testable import TaskManager
4
@@ -31,8 +32,6 @@ final class TaskManagerTests: XCTestCase {
31
32
33
taskManager.cancel(key: .loop)
34
- try await taskManager.wait(for: .loop)
35
-
36
- print("Infinite Loop Task was cancelled")
+ try await t.assertThrows(try await taskManager.wait(for: .loop))
37
}
38
0 commit comments