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