Skip to content

Commit

Permalink
Merge branch 'master' into access_prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluca authored Aug 7, 2023
2 parents 19d0b6a + 19cf20a commit a505318
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crypto/hash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import (
"github.com/stretchr/testify/require"
)

func TestSha256Factory_NewDeprecated(t *testing.T) {
factory := NewSha256Factory()
require.NotNil(t, factory.New())
}

func TestSha256Factory_New(t *testing.T) {
factory := NewHashFactory(Sha256)
require.NotNil(t, factory.New())
Expand Down

0 comments on commit a505318

Please sign in to comment.