minor comment

This commit is contained in:
BlockChainDev 2019-03-17 18:30:12 +00:00
parent ef364900bb
commit a7db1ceaa5

View file

@ -76,9 +76,11 @@ func TestSimpleRun(t *testing.T) {
builder := stack.NewBuilder()
builder.EmitInt(20).EmitInt(34).EmitOpcode(stack.ADD)
builder.EmitInt(54).EmitOpcode(stack.EQUAL).EmitOpcode(stack.THROWIFNOT)
// Pass program to VM
vm := NewVM(builder.Bytes())
// Runs vm with program
_, err := vm.Run()
assert.Nil(t, err)