We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74a4485 commit 28a25e6Copy full SHA for 28a25e6
Tests/Network/TCPStream/main.swift
@@ -53,10 +53,10 @@ test.case("NetworkStreamError") {
53
54
var buffer = [UInt8](repeating: 0, count: 100)
55
// FIXME: hangs on linux
56
- expect(throws: Socket.Error.badDescriptor) {
+ await expect(throws: Socket.Error.badDescriptor) {
57
_ = try await stream.read(to: &buffer)
58
}
59
60
_ = try await stream.write(from: buffer)
61
62
} deinit: {
0 commit comments