We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63dd01e commit 765c970Copy full SHA for 765c970
pbuf/bytes_test.go
@@ -94,6 +94,7 @@ func TestBytesCopy(t *testing.T) {
94
a := ParseBytes(buf...)
95
x := a.Slice(5, i-5)
96
b := x.Copy()
97
+ a.ManualDestroy()
98
if b.Len() != i-10 {
99
t.Fatal("index", i, "excpet len", i, "but got", b.Len())
100
}
0 commit comments