diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-04-22 00:10:33 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-04-22 00:32:30 -0400 |
commit | 90320d67779be5c97061380c035d3fe51b7ce74b (patch) | |
tree | bd7ffb4a97b0427fbaeb8521d707ee7ead62fa0f /src/test/data/script_invalid.json | |
parent | 05e3ecffa495c0905b88cfc92b23bb519b7fe70b (diff) |
script: add additional script tests
Diffstat (limited to 'src/test/data/script_invalid.json')
-rw-r--r-- | src/test/data/script_invalid.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/data/script_invalid.json b/src/test/data/script_invalid.json index 8cb365a46f..fdceb1ffa9 100644 --- a/src/test/data/script_invalid.json +++ b/src/test/data/script_invalid.json @@ -257,7 +257,10 @@ ["1","0xba", "0xba == OP_NOP10 + 1"], ["2147483648", "1ADD 1", "We cannot do math on 5-byte integers"], +["2147483648", "NEGATE 1", "We cannot do math on 5-byte integers"], ["-2147483648", "1ADD 1", "Because we use a sign bit, -2147483648 is also 5 bytes"], +["2147483647", "1ADD 1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"], +["2147483648", "1SUB 1", "We cannot do math on 5-byte integers, even if the result is 4-bytes"], ["1", "1 ENDIF", "ENDIF without IF"], ["1", "IF 1", "IF without ENDIF"], |