@@ -156,8 +156,7 @@ struct HandshakerTests {
156
156
#expect( versionMgr == tc. result)
157
157
}
158
158
159
- @Test
160
- func incompatible( ) async throws {
159
+ @Test func incompatible( ) async throws {
161
160
let uutTun = Handshaker (
162
161
writeFD: pipeTM. fileHandleForWriting, dispatch: dispatchT, queue: queue, role: . tunnel,
163
162
versions: [ ProtoVersion ( 1 , 8 ) ]
@@ -201,8 +200,7 @@ struct OneSidedHandshakerTests {
201
200
)
202
201
}
203
202
204
- @Test ( )
205
- func badPreamble( ) async throws {
203
+ @Test func badPreamble( ) async throws {
206
204
let taskTun = Task {
207
205
try await uut. handshake ( )
208
206
}
@@ -214,8 +212,7 @@ struct OneSidedHandshakerTests {
214
212
}
215
213
}
216
214
217
- @Test ( . timeLimit( . minutes( 1 ) ) )
218
- func badRole( ) async throws {
215
+ @Test func badRole( ) async throws {
219
216
let taskTun = Task {
220
217
try await uut. handshake ( )
221
218
}
@@ -227,8 +224,7 @@ struct OneSidedHandshakerTests {
227
224
}
228
225
}
229
226
230
- @Test ( . timeLimit( . minutes( 1 ) ) )
231
- func badVersion( ) async throws {
227
+ @Test func badVersion( ) async throws {
232
228
let taskTun = Task {
233
229
try await uut. handshake ( )
234
230
}
@@ -240,8 +236,7 @@ struct OneSidedHandshakerTests {
240
236
}
241
237
}
242
238
243
- @Test ( . timeLimit( . minutes( 1 ) ) )
244
- func mainline( ) async throws {
239
+ @Test func mainline( ) async throws {
245
240
let taskTun = Task {
246
241
let v = try await uut. handshake ( )
247
242
// close our pipe so that `readToEnd()` below succeeds.
0 commit comments