Merge pull request #1151 from pingcap/ngaut/tiny-cleanup
arena: tiny clean up.
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user