Skip to content

test: add test for push slice minimal #4368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ChrisCho-H
Copy link
Contributor

Following #4322.
Test push_slice and push_slice_nom_minimal from OP_1...OP_16 and OP_1NEGATE.

Test push_slice and push_slice_nom_minimal from OP_1...OP_16 and OP_1NEGATE
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Apr 19, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14546094216

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 84.049%

Totals Coverage Status
Change from base Build 14536619160: 0.02%
Covered Lines: 22568
Relevant Lines: 26851

💛 - Coveralls

@apoelstra
Copy link
Member

In 2b37583:

The format bot will pull this apart but the test looks good to me.

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2b37583; successfully ran local tests

@apoelstra apoelstra merged commit 353992f into rust-bitcoin:master Apr 21, 2025
24 checks passed
apoelstra added a commit that referenced this pull request Apr 26, 2025
afd4ec8 test: push minimality check for zero(empty) (ChrisCho-H)

Pull request description:

  Following #4368.
  I omitted to test OP_0(empty bytes) and can be covered by this PR.

ACKs for top commit:
  apoelstra:
    ACK afd4ec8; successfully ran local tests

Tree-SHA512: a3643227f9dfde71d5c5707bf11804e0e26eff43346c0443abdd805f0ffad284c3090e22a0bda34e54e1185a980adc7511724db401c04b55a8be79d67a3fce6d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bitcoin PRs modifying the bitcoin crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants