[#1369] version: Upgrade SDK package

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-05-11 17:58:52 +03:00 committed by LeL
parent 7a57d7b076
commit 088df0e2a9
13 changed files with 60 additions and 38 deletions

View file

@ -22,7 +22,8 @@ func TestCheckFormat(t *testing.T) {
require.Error(t, CheckFormat(c))
c.SetVersion(version.Current())
ver := version.Current()
c.SetVersion(&ver)
require.Error(t, CheckFormat(c))

View file

@ -9,7 +9,7 @@ import (
)
func TestIsValid(t *testing.T) {
require.True(t, version.IsValid(*versionSDK.Current()))
require.True(t, version.IsValid(versionSDK.Current()))
var v versionSDK.Version