Skip to content

Commit

Permalink
edwards25519: drop Go builders noopt check
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm authored and FiloSottile committed Dec 10, 2023
1 parent 8c58ed0 commit f25ca2c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions edwards25519_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ package edwards25519

import (
"encoding/hex"
"os"
"reflect"
"strings"
"testing"

"filippo.io/edwards25519/field"
Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit f25ca2c

Please sign in to comment.