From 7117c91eaba9d808728de3728501f28c87b3a83c Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 28 Sep 2026 01:13:51 +0200 Subject: [PATCH] Assert a replaced held message leaves its octets with it --- test/session-extras.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/session-extras.test.ts b/test/session-extras.test.ts index c8b3dc2..fb11cad 100644 --- a/test/session-extras.test.ts +++ b/test/session-extras.test.ts @@ -1508,6 +1508,7 @@ describe('held message bounds', () => { held.hold(message(2), 1); assert.equal(held.size, 2); + assert.equal(held.octetsHeld, 2 * 1026, 'the replaced message leaves its octets with it'); assert.equal(held.full(), true); assert.equal(first.isHeld(), true);