16 lines
436 B
Go
16 lines
436 B
Go
|
package tombstone_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/rpc/message"
|
||
|
messagetest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/rpc/message/test"
|
||
|
tombstonetest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/tombstone/test"
|
||
|
)
|
||
|
|
||
|
func TestMessageConvert(t *testing.T) {
|
||
|
messagetest.TestRPCMessage(t,
|
||
|
func(empty bool) message.Message { return tombstonetest.GenerateTombstone(empty) },
|
||
|
)
|
||
|
}
|