github.com/MetalBlockchain/metalgo@v1.11.9/vms/nftfx/credential_test.go (about)

     1  // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package nftfx
     5  
     6  import (
     7  	"testing"
     8  
     9  	"github.com/stretchr/testify/require"
    10  
    11  	"github.com/MetalBlockchain/metalgo/vms/components/verify"
    12  )
    13  
    14  func TestCredentialState(t *testing.T) {
    15  	intf := interface{}(&Credential{})
    16  	_, ok := intf.(verify.State)
    17  	require.False(t, ok)
    18  }