mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-05 02:00:30 +08:00
chore: tidy test
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user