pkg/vm/stack: fix SA4006 GolangCI warning in TestStackPushPop()

SA4006: this value of stackElement is never used (from staticcheck)
This commit is contained in:
Roman Khimov 2019-08-12 18:13:04 +03:00
parent f445103260
commit 9be53e5961

View file

@ -51,7 +51,7 @@ func TestStackPushPop(t *testing.T) {
assert.Equal(t, true, item.Equal(a))
// We should get an error as there are nomore items left to pop
stackElement, err = testStack.Pop()
_, err = testStack.Pop()
assert.NotNil(t, err)
}