Skip to content

Commit 4ba5642

Browse files
committed
fixup
1 parent 3a52ed2 commit 4ba5642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Coder Desktop/ProtoTests/SpeakerTests.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct SpeakerTests {
8888

8989
@Test func sendRPCs() async throws {
9090
// Speaker must be reading from the receiver for `unaryRPC` to return
91-
Task {
91+
let readDone = Task {
9292
for try await _ in uut {}
9393
}
9494
async let managerDone = Task {
@@ -114,5 +114,6 @@ struct SpeakerTests {
114114
await uut.closeWrite()
115115
_ = await managerDone
116116
try await sender.close()
117+
try await readDone.value
117118
}
118119
}

0 commit comments

Comments
 (0)