@@ -80,7 +80,7 @@ final class AsyncChannelKitTests: XCTestCase {
8080 await received. fulfill ( )
8181 }
8282
83- try await waitForExpectations ( [ sent, received] )
83+ await waitForExpectations ( [ sent, received] )
8484 }
8585
8686 func testNumberSequenceUsingForEach( ) async throws {
@@ -106,7 +106,7 @@ final class AsyncChannelKitTests: XCTestCase {
106106 await received. fulfill ( )
107107 }
108108
109- try await waitForExpectations ( [ sent, received] )
109+ await waitForExpectations ( [ sent, received] )
110110 }
111111
112112 func testStringSequence( ) async throws {
@@ -131,7 +131,7 @@ final class AsyncChannelKitTests: XCTestCase {
131131 await received. fulfill ( )
132132 }
133133
134- try await waitForExpectations ( [ sent, received] )
134+ await waitForExpectations ( [ sent, received] )
135135 }
136136
137137 func testSucceedingSequence( ) async throws {
@@ -168,7 +168,7 @@ final class AsyncChannelKitTests: XCTestCase {
168168 await received. fulfill ( )
169169 }
170170
171- try await waitForExpectations ( [ sent, received] )
171+ await waitForExpectations ( [ sent, received] )
172172 }
173173
174174 func testFailingSequence( ) async throws {
@@ -212,8 +212,8 @@ final class AsyncChannelKitTests: XCTestCase {
212212 await received. fulfill ( )
213213 }
214214
215- try await waitForExpectations ( [ sent] , timeout: delay * Double( input. count) )
216- try await waitForExpectations ( [ failed, received] )
215+ await waitForExpectations ( [ sent] , timeout: delay * Double( input. count) )
216+ await waitForExpectations ( [ failed, received] )
217217 }
218218
219219 func testChannelCancelled( ) async throws {
@@ -227,7 +227,7 @@ final class AsyncChannelKitTests: XCTestCase {
227227 return await iterator. next ( )
228228 }
229229
230- try await waitForExpectations ( [ ready] )
230+ await waitForExpectations ( [ ready] )
231231 task. cancel ( )
232232
233233 Task {
@@ -236,7 +236,7 @@ final class AsyncChannelKitTests: XCTestCase {
236236 await done. fulfill ( )
237237 }
238238
239- try await waitForExpectations ( [ done] )
239+ await waitForExpectations ( [ done] )
240240 }
241241
242242 func testThrowingChannelCancelled( ) async throws {
@@ -250,7 +250,7 @@ final class AsyncChannelKitTests: XCTestCase {
250250 return try await iterator. next ( )
251251 }
252252
253- try await waitForExpectations ( [ ready] )
253+ await waitForExpectations ( [ ready] )
254254 task. cancel ( )
255255
256256 Task {
@@ -259,7 +259,7 @@ final class AsyncChannelKitTests: XCTestCase {
259259 await done. fulfill ( )
260260 }
261261
262- try await waitForExpectations ( [ done] )
262+ await waitForExpectations ( [ done] )
263263 }
264264
265265 func testChannelCancelledOnSend( ) async throws {
@@ -274,9 +274,9 @@ final class AsyncChannelKitTests: XCTestCase {
274274 await done. fulfill ( )
275275 }
276276
277- try await waitForExpectations ( [ notYetDone] , timeout: delay)
277+ await waitForExpectations ( [ notYetDone] , timeout: delay)
278278 task. cancel ( )
279- try await waitForExpectations ( [ done] , timeout: 1.0 )
279+ await waitForExpectations ( [ done] , timeout: 1.0 )
280280 }
281281
282282 func testThrowingChannelCancelledOnSend( ) async throws {
@@ -291,9 +291,9 @@ final class AsyncChannelKitTests: XCTestCase {
291291 await done. fulfill ( )
292292 }
293293
294- try await waitForExpectations ( [ notYetDone] , timeout: delay)
294+ await waitForExpectations ( [ notYetDone] , timeout: delay)
295295 task. cancel ( )
296- try await waitForExpectations ( [ done] )
296+ await waitForExpectations ( [ done] )
297297 }
298298
299299}
0 commit comments