From 765c970d70b96457d355b9cb1f2dfe229e1642a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Mon, 14 Apr 2025 23:20:06 +0900 Subject: [PATCH] chore: tidy test --- pbuf/bytes_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pbuf/bytes_test.go b/pbuf/bytes_test.go index 58324a2..ebfbb00 100644 --- a/pbuf/bytes_test.go +++ b/pbuf/bytes_test.go @@ -94,6 +94,7 @@ func TestBytesCopy(t *testing.T) { a := ParseBytes(buf...) x := a.Slice(5, i-5) b := x.Copy() + a.ManualDestroy() if b.Len() != i-10 { t.Fatal("index", i, "excpet len", i, "but got", b.Len()) }