diff --git a/util/arena/arena_test.go b/util/arena/arena_test.go index dfced52924..c08cc6a133 100644 --- a/util/arena/arena_test.go +++ b/util/arena/arena_test.go @@ -59,10 +59,6 @@ func TestSimpleArenaAllocator(t *testing.T) { if arena.off != 0 || cap(arena.arena) != 1000 { t.Error("off or cap not match") } - - if cap(arena.arena) != 1000 { - t.Error("cap not match") - } } func TestStdAllocator(t *testing.T) {