From a416efef5a278c9c8c5e133bbec5c2c1d0df9491 Mon Sep 17 00:00:00 2001 From: Tao Qingyun Date: Sat, 7 Nov 2020 02:43:27 +0000 Subject: [PATCH] =?UTF-8?q?runtime:=20remove=20a=20duplicated=20testcase?= =?UTF-8?q?=20of=20TestPallocDataFindScavengeCa=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib44729ffb5d4d7b84114dcf028b7e0418c9d5035 GitHub-Last-Rev: 13f59a650aa424b4852ee4a803eebc793dbbfc15 GitHub-Pull-Request: golang/go#42434 Reviewed-on: https://go-review.googlesource.com/c/go/+/268021 Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor Reviewed-by: Michael Pratt Trust: Martin Möhrmann --- src/runtime/mgcscavenge_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/runtime/mgcscavenge_test.go b/src/runtime/mgcscavenge_test.go index 250343077f..3b12a2e1e6 100644 --- a/src/runtime/mgcscavenge_test.go +++ b/src/runtime/mgcscavenge_test.go @@ -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,