forked from TrueCloudLab/neoneo-go
pkg/vm/stack: fix SA4006 GolangCI warning in TestStackPushPop()
SA4006: this value of stackElement is never used (from staticcheck)
This commit is contained in:
parent
f445103260
commit
9be53e5961
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func TestStackPushPop(t *testing.T) {
|
||||||
assert.Equal(t, true, item.Equal(a))
|
assert.Equal(t, true, item.Equal(a))
|
||||||
|
|
||||||
// We should get an error as there are nomore items left to pop
|
// We should get an error as there are nomore items left to pop
|
||||||
stackElement, err = testStack.Pop()
|
_, err = testStack.Pop()
|
||||||
assert.NotNil(t, err)
|
assert.NotNil(t, err)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue