From f25ca2c5f0c1cfb5c49f9912cced238f22cc8e28 Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Tue, 9 Aug 2022 00:55:13 +0700 Subject: [PATCH] edwards25519: drop Go builders noopt check --- edwards25519_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/edwards25519_test.go b/edwards25519_test.go index 55d3036..fe511bd 100644 --- a/edwards25519_test.go +++ b/edwards25519_test.go @@ -6,9 +6,7 @@ package edwards25519 import ( "encoding/hex" - "os" "reflect" - "strings" "testing" "filippo.io/edwards25519/field" @@ -282,9 +280,6 @@ func TestNonCanonicalPoints(t *testing.T) { var testAllocationsSink byte func TestAllocations(t *testing.T) { - if strings.HasSuffix(os.Getenv("GO_BUILDER_NAME"), "-noopt") { - t.Skip("skipping allocations test without relevant optimizations") - } if allocs := testing.AllocsPerRun(100, func() { p := NewIdentityPoint() p.Add(p, NewGeneratorPoint())