summaryrefslogtreecommitdiff
path: root/crypto/util_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/util_test.go')
-rw-r--r--crypto/util_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/util_test.go b/crypto/util_test.go
index 3cdba9e9c..0488dcadb 100644
--- a/crypto/util_test.go
+++ b/crypto/util_test.go
@@ -19,10 +19,12 @@ package crypto
import (
"testing"
+ "github.com/algorand/go-algorand/test/partitiontest"
"github.com/stretchr/testify/require"
)
func TestEncodeDecode(t *testing.T) {
+ partitiontest.PartitionTest(t)
toBeHashed := []byte("this is a test")
hashed := Hash(toBeHashed)
hashedStr := hashed.String()
@@ -33,6 +35,7 @@ func TestEncodeDecode(t *testing.T) {
}
func TestDigest_IsZero(t *testing.T) {
+ partitiontest.PartitionTest(t)
d := Digest{}
require.True(t, d.IsZero())
require.Zero(t, d)