[#100] types: Make sdk types as protobuf wrappers
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
This commit is contained in:
parent
d70ef2187b
commit
6281a25556
135 changed files with 2870 additions and 2190 deletions
|
@ -3,7 +3,7 @@ package object
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object"
|
||||
v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/grpc"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
@ -27,7 +27,7 @@ func TestRange_SetLength(t *testing.T) {
|
|||
|
||||
func TestNewRangeFromV2(t *testing.T) {
|
||||
t.Run("from nil", func(t *testing.T) {
|
||||
var x *object.Range
|
||||
var x *v2object.Range
|
||||
|
||||
require.Nil(t, NewRangeFromV2(x))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue