Skip to content

chore: refactor to use test_strategy in XNet Payload Builder proptests - #4163

Merged
stiegerc merged 5 commits into
masterfrom
refactor_xnet_payload_builder_proptests
Mar 3, 2025
Merged

stiegerc merged 5 commits into
masterfrom
refactor_xnet_payload_builder_proptests

Conversation

@stiegerc

@stiegerc stiegerc commented Feb 27, 2025 •

Copy link
Copy Markdown
Contributor

The test_strategy macros allow for formatting in prop tests. This PR is analogous to this refactor for replicated_state.

The diff appears huge, which is probably due to the changed indentation, but nothing was changed except the syntax on test inputs.

@stiegerc stiegerc changed the title Chore: Use test_strategy in XNet Payload Builder proptests chore: Use test_strategy in XNet Payload Builder proptests Feb 28, 2025
@github-actions github-actions Bot added the chore label Feb 28, 2025
@stiegerc stiegerc changed the title chore: Use test_strategy in XNet Payload Builder proptests chore: refactor to use test_strategy in XNet Payload Builder proptests Feb 28, 2025
@stiegerc
stiegerc marked this pull request as ready for review March 3, 2025 09:55
@stiegerc
stiegerc requested a review from a team as a code owner March 3, 2025 09:55
@stiegerc
stiegerc added this pull request to the merge queue Mar 3, 2025
Merged via the queue into master with commit d0351b9 Mar 3, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
Same story has [this](#4163).

---------

Co-authored-by: IDX GitHub Automation <[email protected]>
@stiegerc
stiegerc deleted the refactor_xnet_payload_builder_proptests branch March 3, 2025 15:53
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Mar 3, 2025
…4202)

Same story has [this](#4163).

---------

Co-authored-by: IDX GitHub Automation <[email protected]>
github-merge-queue Bot pushed a commit that referenced this pull request May 26, 2025
…cro for ICRC1 ledger suite tests (#5039)

Use `test_strategy` annotations instead of the `proptest!` macro for
ICRC1 ledger suite tests. Using the annotations instead of the macro
allows `rustfmt` to format the code. This PR is inspired by [this
earlier PR](#4163) for the
`xnet/payload_builder` tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants