reference: run tests with t.Parallel()

Not all tests have been rewritten to use sub-tests; for those
I enabled t.Parallel() for the parent test only.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-11-18 20:04:23 +01:00
parent 5703bcf17d
commit b6a040faf4
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
4 changed files with 34 additions and 0 deletions

View file

@ -25,6 +25,7 @@ import (
)
func TestReferenceSorting(t *testing.T) {
t.Parallel()
digested := func(seed int64) string {
b, err := io.ReadAll(io.LimitReader(rand.New(rand.NewSource(seed)), 64))
if err != nil {