mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-30 18:35:54 +02:00
Merge bitcoin/bitcoin#34145: test: Add unit test for OP_NUMEQUALVERIFY
b762538756test: Add unit test for SCRIPT_ERR_NUMEQUALVERIFY (billymcbip) Pull request description: Add coverage for the error branch of `OP_NUMEQUALVERIFY`:d861c38205/src/script/interpreter.cpp (L997)Note the code coverage miss: https://maflcko.github.io/b-c-cov/total.coverage/src/script/interpreter.cpp.gcov.html (around line 997) I ran: `cmake -B build -DENABLE_WALLET=OFF && cmake --build build -j 8 && ctest --test-dir build -j 8` ACKs for top commit: yashbhutwala: ACKb762538756darosior: ACKb762538756sedited: ACKb762538756Tree-SHA512: 82659c831c2c2a317ec01fe628813ff3c08108701c4d869ecdc8876450f731239a059c4dd33ef96e6b0c519b46706db1b8fe035ad6be280c5152ca427e67075e
This commit is contained in:
@@ -438,6 +438,7 @@
|
||||
["-1 0", "BOOLOR", "P2SH,STRICTENC", "OK"],
|
||||
["0 0", "NUMEQUAL", "P2SH,STRICTENC", "OK"],
|
||||
["0 0", "NUMEQUALVERIFY 1", "P2SH,STRICTENC", "OK"],
|
||||
["2 0", "NUMEQUALVERIFY", "P2SH,STRICTENC", "NUMEQUALVERIFY"],
|
||||
["-1 0", "NUMNOTEQUAL", "P2SH,STRICTENC", "OK"],
|
||||
["-1 0", "LESSTHAN", "P2SH,STRICTENC", "OK"],
|
||||
["1 0", "GREATERTHAN", "P2SH,STRICTENC", "OK"],
|
||||
|
||||
Reference in New Issue
Block a user