forked from TrueCloudLab/frostfs-node
*: replace neofs-api-go with neofs-sdk-go
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
6c0b29e3e3
commit
95893927aa
256 changed files with 603 additions and 604 deletions
|
@ -3,15 +3,15 @@ package version_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/nspcc-dev/neofs-api-go/pkg"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/core/version"
|
||||
versionSDK "github.com/nspcc-dev/neofs-sdk-go/version"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestIsValid(t *testing.T) {
|
||||
require.True(t, version.IsValid(*pkg.SDKVersion()))
|
||||
require.True(t, version.IsValid(*versionSDK.Current()))
|
||||
|
||||
var v pkg.Version
|
||||
var v versionSDK.Version
|
||||
|
||||
for _, item := range []struct {
|
||||
mjr, mnr uint32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue