github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/rpcclient/invoker/compat_test.go (about)

     1  package invoker_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/nspcc-dev/neo-go/pkg/rpcclient"
     7  	"github.com/nspcc-dev/neo-go/pkg/rpcclient/invoker"
     8  )
     9  
    10  func TestRPCInvokerRPCClientCompat(t *testing.T) {
    11  	_ = invoker.RPCInvoke(&rpcclient.Client{})
    12  	_ = invoker.RPCInvoke(&rpcclient.WSClient{})
    13  	_ = invoker.RPCInvokeHistoric(&rpcclient.Client{})
    14  	_ = invoker.RPCInvokeHistoric(&rpcclient.WSClient{})
    15  	_ = invoker.RPCSessions(&rpcclient.WSClient{})
    16  }