Don't use entropy for test

Use math/rand instead of crypto/rand, so entropy is not a blocker when
running the tests.
This commit is contained in:
meskio 2022-06-02 11:19:47 +02:00
parent e4c01f0595
commit f38c91f906
No known key found for this signature in database
GPG key ID: 52B8F5AC97A2DA86
2 changed files with 12 additions and 4 deletions

View file

@ -1,9 +1,9 @@
package amp
import (
"crypto/rand"
"io"
"io/ioutil"
"math/rand"
"strings"
"testing"
)