summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/unit/net_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts
index 9228315d8..bd0e489b5 100644
--- a/cli/tests/unit/net_test.ts
+++ b/cli/tests/unit/net_test.ts
@@ -290,7 +290,8 @@ unitTest(
assertEquals(bob.addr.path, filePath);
const sent = new Uint8Array([1, 2, 3]);
- await alice.send(sent, bob.addr);
+ const byteLength = await alice.send(sent, bob.addr);
+ assertEquals(byteLength, 3);
const [recvd, remote] = await bob.receive();
assert(remote.transport === "unixpacket");