You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should figure out a way to get rid of this and the others in this file. Unfortunately, we cannot replace allow inside cfg_attr with expect, since clippy evaluates it even when the benchmark feature is not enabled and errs with unfulfilled_lint_expectations.
…utils (#1613)
## Summary
Separated utils only used by tests from utils used by both benchmarks
and tests.
## Background
This is to get rid of many strings of nested `expect`s and `allow`s
mentioned in #1585
## Changes
- Separated `astria-sequencer::test_utils.rs` into `test_utils.rs` and
`benchmark_and_test_utils.rs`.
- Separated `astria-sequencer::app::test_utils.rs` into
`app::test_utils.rs` and `app::benchmark_and_test_utils.rs`.
- Fixed all the imports which broke as a result.
## Testing
All tests working
## Related Issues
closes#1585
We should figure out a way to get rid of this and the others in this file. Unfortunately, we cannot replace
allow
insidecfg_attr
withexpect
, since clippy evaluates it even when the benchmark feature is not enabled and errs withunfulfilled_lint_expectations
.astria/crates/astria-sequencer/src/app/test_utils.rs
Lines 59 to 65 in e267d1c
┆Issue Number: ENG-877
The text was updated successfully, but these errors were encountered: