Skip to content

test: assert splits_of preserves creation order#369

Open
Sam-Rytech wants to merge 2 commits into
tributary-protocol:mainfrom
Sam-Rytech:fix-splits-order
Open

test: assert splits_of preserves creation order#369
Sam-Rytech wants to merge 2 commits into
tributary-protocol:mainfrom
Sam-Rytech:fix-splits-order

Conversation

@Sam-Rytech

Copy link
Copy Markdown
Contributor

Adds a test to assert that IDs returned by splits_of follow their creation order across several creates by one creator.

  • Implements splits_of_preserves_creation_order test in contracts/splitter/src/test.rs.
  • Fixed a duplicated #![cfg(test)] attribute in test.rs to satisfy clippy CI check.
  • Validated via cargo test, cargo clippy, and npm run build. All checks pass.

Closes #100

@Sam-Rytech
Sam-Rytech requested a review from Spagero763 as a code owner July 22, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test splits_of preserves creation order

1 participant