aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bhash/bhash_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bhash/bhash_test.go b/bhash/bhash_test.go
index 40c0a76..9bc190b 100644
--- a/bhash/bhash_test.go
+++ b/bhash/bhash_test.go
@@ -2,7 +2,7 @@ package bhash
import (
"bytes"
- "strconv"
+ "fmt"
"testing"
)
@@ -98,7 +98,7 @@ func TestPbkdf(t *testing.T) {
zero := make([]byte, 32)
rounds := 42
for _, tc := range testCases {
- t.Run(strconv.Itoa(len(tc)), func(t *testing.T) {
+ t.Run(fmt.Sprint(len(tc)), func(t *testing.T) {
res := Pbkdf(zero, zero, rounds, len(tc))
if !bytes.Equal(res, tc) {
t.Errorf("got %x, want %x", res, tc)