25da5d2e13
Replace all elements from `v2` to root directory. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
15 lines
415 B
Go
15 lines
415 B
Go
package storagegroup_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/nspcc-dev/neofs-api-go/v2/rpc/message"
|
|
messagetest "github.com/nspcc-dev/neofs-api-go/v2/rpc/message/test"
|
|
storagegrouptest "github.com/nspcc-dev/neofs-api-go/v2/storagegroup/test"
|
|
)
|
|
|
|
func TestMessageConvert(t *testing.T) {
|
|
messagetest.TestRPCMessage(t,
|
|
func(empty bool) message.Message { return storagegrouptest.GenerateStorageGroup(empty) },
|
|
)
|
|
}
|