Skip to content

Commit b384839

Browse files
committed
test sendmsg()
1 parent 6d0c7d5 commit b384839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FlyingSocks/Tests/AsyncSocketTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ struct AsyncSocketTests {
217217
#if canImport(Darwin)
218218
try await s1.write("Swift".data(using: .utf8)!)
219219
#else
220-
try await s1.send("Swift".data(using: .utf8)!, to: addr)
220+
try await s1.send(message: "Swift".data(using: .utf8)!, to: addr, from: addr)
221221
#endif
222222
let v2 = try await d2
223223
#expect(String(data: Data(v2.bytes), encoding: .utf8) == "Swift")

0 commit comments

Comments
 (0)