1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:30:07 -07:00

runtime: remove a duplicated testcase of TestPallocDataFindScavengeCandidate

This commit is contained in:
Tao Qingyun 2020-11-07 10:28:10 +08:00
parent c9b9cd73bb
commit 13f59a650a

View File

@ -152,12 +152,6 @@ func TestPallocDataFindScavengeCandidate(t *testing.T) {
max: PallocChunkPages,
want: BitRange{0, uint(m)},
}
tests["StartFree"+suffix] = test{
alloc: []BitRange{{uint(m), PallocChunkPages - uint(m)}},
min: m,
max: PallocChunkPages,
want: BitRange{0, uint(m)},
}
tests["EndFree"+suffix] = test{
alloc: []BitRange{{0, PallocChunkPages - uint(m)}},
min: m,