diff --git a/bench_test.go b/bench_test.go index 435cf174..f38f6503 100644 --- a/bench_test.go +++ b/bench_test.go @@ -6,8 +6,9 @@ package btcec_test import ( "crypto/ecdsa" - "github.com/conformal/btcec" "testing" + + "github.com/conformal/btcec" ) // BenchmarkAddJacobian benchmarks the secp256k1 curve addJacobian function with diff --git a/btcec_test.go b/btcec_test.go index c5d63dbc..7b1e2cc4 100644 --- a/btcec_test.go +++ b/btcec_test.go @@ -13,9 +13,10 @@ import ( "crypto/sha1" "encoding/hex" "fmt" - "github.com/conformal/btcec" "math/big" "testing" + + "github.com/conformal/btcec" ) // TestAddJacobian tests addition of points projected in Jacobian coordinates. diff --git a/field_test.go b/field_test.go index 63ef697c..3e3a50d5 100644 --- a/field_test.go +++ b/field_test.go @@ -6,9 +6,10 @@ package btcec_test import ( - "github.com/conformal/btcec" "reflect" "testing" + + "github.com/conformal/btcec" ) // TestSetInt ensures that setting a field value to various native integers diff --git a/pubkey_test.go b/pubkey_test.go index 24234669..3ad6def4 100644 --- a/pubkey_test.go +++ b/pubkey_test.go @@ -6,9 +6,10 @@ package btcec_test import ( "bytes" + "testing" + "github.com/conformal/btcec" "github.com/davecgh/go-spew/spew" - "testing" ) type privKeyTest struct { diff --git a/signature_test.go b/signature_test.go index fe8d8017..bb4c2e80 100644 --- a/signature_test.go +++ b/signature_test.go @@ -9,9 +9,10 @@ import ( "crypto/ecdsa" "crypto/rand" "fmt" - "github.com/conformal/btcec" "math/big" "testing" + + "github.com/conformal/btcec" ) type signatureTest struct {