aboutsummaryrefslogtreecommitdiff
path: root/bhash
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-05-01 02:07:22 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-05-01 02:07:22 +0200
commitc6268fc8889dad6048965f0d63053b0a5795fec5 (patch)
tree46888e88e49e3fb089acfe61af8268333b8ed600 /bhash
parentbf4f6005b433bf20394d5c6e3030c22885b36622 (diff)
fmt
Diffstat (limited to 'bhash')
-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)