mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 21:47:31 +00:00
chore: better maphash test
This commit is contained in:
@@ -423,7 +423,9 @@ func TestWriteComparableNoncommute(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestComparableAllocations(t *testing.T) {
|
||||
t.Skip("test broken in old golang version")
|
||||
if !testComparableAllocations {
|
||||
t.Skip("test broken in old golang version")
|
||||
}
|
||||
seed := MakeSeed()
|
||||
x := heapStr(t)
|
||||
allocs := testing.AllocsPerRun(10, func() {
|
||||
|
||||
Reference in New Issue
Block a user