mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-01 03:01:05 +00:00
b7625387569af059adb359af4cff18dd7850f213 test: 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:
ACK b7625387569af059adb359af4cff18dd7850f213
darosior:
ACK b7625387569af059adb359af4cff18dd7850f213
sedited:
ACK b7625387569af059adb359af4cff18dd7850f213
Tree-SHA512: 82659c831c2c2a317ec01fe628813ff3c08108701c4d869ecdc8876450f731239a059c4dd33ef96e6b0c519b46706db1b8fe035ad6be280c5152ca427e67075e
Description
This directory contains data-driven tests for various aspects of Bitcoin.
License
The data files in this directory are distributed under the MIT software license, see the accompanying file COPYING or https://www.opensource.org/licenses/mit-license.php.