OpenZeppelin / rust-contracts-stylus

A library for secure smart contract development written in Rust
MIT License
66 stars 17 forks source link

tests: increase code coverage at consecutive #293

Closed qalisander closed 1 week ago

qalisander commented 1 week ago

Adds missing tests to erc721 consecutive mostly associated with erc721 standard's operations.

netlify[bot] commented 1 week ago

Deploy Preview for contracts-stylus canceled.

Name Link
Latest commit d896cb092d87f03f1b5cbe1ff7a29555ca3251ca
Latest deploy log https://app.netlify.com/sites/contracts-stylus/deploys/66f2d4110d2d4100082897ff
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.2%. Comparing base (d186818) to head (d896cb0). Report is 1 commits behind head on main.

Additional details and impacted files | [Files with missing lines](https://app.codecov.io/gh/OpenZeppelin/rust-contracts-stylus/pull/293?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenZeppelin) | Coverage Ξ” | | |---|---|---| | [...ntracts/src/token/erc721/extensions/consecutive.rs](https://app.codecov.io/gh/OpenZeppelin/rust-contracts-stylus/pull/293?src=pr&el=tree&filepath=contracts%2Fsrc%2Ftoken%2Ferc721%2Fextensions%2Fconsecutive.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenZeppelin#diff-Y29udHJhY3RzL3NyYy90b2tlbi9lcmM3MjEvZXh0ZW5zaW9ucy9jb25zZWN1dGl2ZS5ycw==) | `91.0% <100.0%> (+28.8%)` | :arrow_up: | | [contracts/src/token/erc721/mod.rs](https://app.codecov.io/gh/OpenZeppelin/rust-contracts-stylus/pull/293?src=pr&el=tree&filepath=contracts%2Fsrc%2Ftoken%2Ferc721%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenZeppelin#diff-Y29udHJhY3RzL3NyYy90b2tlbi9lcmM3MjEvbW9kLnJz) | `88.4% <100.0%> (ΓΈ)` | |