aboutsummaryrefslogtreecommitdiff
path: root/bhash
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-07-16 22:53:49 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-07-16 22:53:49 +0200
commita21c2ba606444e7e94f1db5356f51397928a072d (patch)
treea465af5319cb73f8b27615197b633349bd218ba1 /bhash
parent2fc8e0aeed3b36b20864a9eeba2bf08c806dcd5c (diff)
Test parallel
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)