github.com/ipld/go-ipld-prime@v0.21.0/node/basicnode/any_test.go (about)

     1  package basicnode_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/ipld/go-ipld-prime/node/basicnode"
     7  	"github.com/ipld/go-ipld-prime/node/tests"
     8  )
     9  
    10  func TestAnyBeingString(t *testing.T) {
    11  	tests.SpecTestString(t, basicnode.Prototype.Any)
    12  }
    13  
    14  func TestAnyBeingMapStrInt(t *testing.T) {
    15  	tests.SpecTestMapStrInt(t, basicnode.Prototype.Any)
    16  }
    17  
    18  func TestAnyBeingMapStrMapStrInt(t *testing.T) {
    19  	tests.SpecTestMapStrMapStrInt(t, basicnode.Prototype.Any)
    20  }