Skip to content

Commit

Permalink
tests: split up overlong test
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed May 18, 2021
1 parent a184f41 commit a2e312e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion client-sdk/go/types/crypto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ func TestMultisigConfigVerify(t *testing.T) {
Threshold: 1,
}
require.Error(config.Verify(), "zero weight key")
config = MultisigConfig{
}

func TestMultisigConfigVerify2(t *testing.T) {
require := require.New(t)

dummyPKA := PublicKey{PublicKey: ed25519.NewPublicKey("CgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=")}
dummyPKB := PublicKey{PublicKey: ed25519.NewPublicKey("CwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=")}
config := MultisigConfig{
Signers: []MultisigSigner{
{
PublicKey: dummyPKA,
Expand Down

0 comments on commit a2e312e

Please sign in to comment.