vm: make PUSH0 emit Integer

This commit is contained in:
Evgenii Stratonikov 2020-05-20 16:31:10 +03:00
parent 820b050b18
commit f4fa712440
7 changed files with 14 additions and 17 deletions

View file

@ -30,7 +30,7 @@ func TestGT(t *testing.T) {
return 0
}
`
eval(t, src, []byte{})
eval(t, src, big.NewInt(0))
}
func TestGTE(t *testing.T) {
@ -44,7 +44,7 @@ func TestGTE(t *testing.T) {
return 0
}
`
eval(t, src, []byte{})
eval(t, src, big.NewInt(0))
}
func TestLAND(t *testing.T) {
@ -89,5 +89,5 @@ func TestNestedIF(t *testing.T) {
return 0
}
`
eval(t, src, []byte{})
eval(t, src, big.NewInt(0))
}