script tests: value with trailing 0x00 is true

This commit is contained in:
Otto Allmendinger 2014-07-18 12:55:46 +02:00
parent 833ff161bc
commit 4cac5dbf83

View File

@ -10,6 +10,7 @@
[" 1 2 ", "2 EQUALVERIFY 1 EQUAL"], [" 1 2 ", "2 EQUALVERIFY 1 EQUAL"],
["1", ""], ["1", ""],
["0x02 0x01 0x00", "", "all bytes are significant, not only the last one"],
["0x09 0x00000000 0x00000000 0x10", "", "equals zero when cast to Int64"], ["0x09 0x00000000 0x00000000 0x10", "", "equals zero when cast to Int64"],
["0x01 0x0b", "11 EQUAL", "push 1 byte"], ["0x01 0x0b", "11 EQUAL", "push 1 byte"],