Skip to content

Commit ed02282

Browse files
additional test for OP_SIZE in script_valid.json
1 parent a2404ce commit ed02282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/data/script_valid.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
["-9223372036854775807", "SIZE 8 EQUAL"],
127127
["'abcdefghijklmnopqrstuvwxyz'", "SIZE 26 EQUAL"],
128128

129+
["42", "SIZE 1 EQUALVERIFY 42 EQUAL", "SIZE does not consume argument"],
129130

130131
["2 -2 ADD", "0 EQUAL"],
131132
["2147483647 -2147483647 ADD", "0 EQUAL"],

0 commit comments

Comments
 (0)