Skip to content

Commit 765c970

Browse files
committed
chore: tidy test
1 parent 63dd01e commit 765c970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pbuf/bytes_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func TestBytesCopy(t *testing.T) {
9494
a := ParseBytes(buf...)
9595
x := a.Slice(5, i-5)
9696
b := x.Copy()
97+
a.ManualDestroy()
9798
if b.Len() != i-10 {
9899
t.Fatal("index", i, "excpet len", i, "but got", b.Len())
99100
}

0 commit comments

Comments
 (0)