solana-go/nativetype_test.go

14 lines
196 B
Go

package solana
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestMustPublicKeyFromBase58(t *testing.T) {
require.Panics(t, func() {
MustPublicKeyFromBase58("toto")
})
}