Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
add exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
kilic committed Jan 16, 2021
1 parent c0f46a7 commit 5fd2c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bls12_381_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"errors"
"flag"
"math/big"
"os"
"testing"
)

Expand All @@ -15,7 +16,7 @@ func TestMain(m *testing.M) {
_fuz := flag.Int("fuzz", 10, "# of iterations")
flag.Parse()
fuz = *_fuz
m.Run()
os.Exit(m.Run())
}

func randScalar(max *big.Int) *big.Int {
Expand Down

0 comments on commit 5fd2c1d

Please sign in to comment.