mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 11:36:17 +00:00
19 lines
477 B
Go
19 lines
477 B
Go
package actor_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/rpcclient"
|
|
"github.com/nspcc-dev/neo-go/pkg/rpcclient/actor"
|
|
)
|
|
|
|
func TestRPCActorRPCClientCompat(t *testing.T) {
|
|
_ = actor.RPCActor(&rpcclient.WSClient{})
|
|
_ = actor.RPCActor(&rpcclient.Client{})
|
|
}
|
|
|
|
func TestRPCWaiterRPCClientCompat(t *testing.T) {
|
|
_ = actor.RPCPollingWaiter(&rpcclient.Client{})
|
|
_ = actor.RPCPollingWaiter(&rpcclient.WSClient{})
|
|
_ = actor.RPCEventWaiter(&rpcclient.WSClient{})
|
|
}
|