forked from TrueCloudLab/frostfs-sdk-go
[#327] nns: Support Null
returned value
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
d808f72c38
commit
71891029da
2 changed files with 21 additions and 11 deletions
|
@ -112,7 +112,7 @@ func TestNNS_ResolveContainerName(t *testing.T) {
|
|||
testC.res.Stack[0] = stackitem.Null{}
|
||||
|
||||
_, err := n.ResolveContainerName(testContainerName)
|
||||
require.Error(t, err)
|
||||
require.ErrorIs(t, err, errNotFound)
|
||||
})
|
||||
|
||||
t.Run("array stack item with non-slice value", func(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue