forked from TrueCloudLab/frostfs-api-go
[#197] sdk: Rename getters of Signature type
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
2bcbd48972
commit
2afc684313
3 changed files with 9 additions and 9 deletions
|
@ -51,18 +51,18 @@ func TestVerificationFields(t *testing.T) {
|
|||
},
|
||||
{
|
||||
corrupt: func() {
|
||||
obj.GetSignature().GetKey()[0]++
|
||||
obj.GetSignature().Key()[0]++
|
||||
},
|
||||
restore: func() {
|
||||
obj.GetSignature().GetKey()[0]--
|
||||
obj.GetSignature().Key()[0]--
|
||||
},
|
||||
},
|
||||
{
|
||||
corrupt: func() {
|
||||
obj.GetSignature().GetSign()[0]++
|
||||
obj.GetSignature().Sign()[0]++
|
||||
},
|
||||
restore: func() {
|
||||
obj.GetSignature().GetSign()[0]--
|
||||
obj.GetSignature().Sign()[0]--
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue