Subxt tests #1359
Annotations
4 errors and 1 warning
Run clippy linter:
tc-subxt/tests/test_cases.rs#L117
error: length comparison to zero
--> tc-subxt/tests/test_cases.rs:117:10
|
117 | assert!(txs.len() == 0);
| ^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `txs.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
= note: `-D clippy::len-zero` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::len_zero)]`
|
Run clippy linter:
tc-subxt/tests/test_cases.rs#L177
error: empty line after doc comment
--> tc-subxt/tests/test_cases.rs:174:1
|
174 | / /// ENV setup
175 | | ////////////////////////////////////////////
176 | |
| |_
177 | struct TestingEnv {
| ----------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty line is unintentional remove it
help: if the doc comment should not document `TestingEnv` comment it out
|
174 | // /// ENV setup
| ++
|
Run clippy linter:
tc-subxt/tests/test_cases.rs#L174
error: empty line after doc comment
--> tc-subxt/tests/test_cases.rs:174:1
|
174 | / /// ENV setup
175 | | ////////////////////////////////////////////
176 | |
| |_
177 | struct TestingEnv {
| ----------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty line is unintentional remove it
help: if the doc comment should not document `TestingEnv` comment it out
|
174 | // /// ENV setup
| ++
|
Run clippy linter
Process completed with exit code 1.
|
Run clippy linter
Cache not found for keys: cargo-clippy-release-workspace--ea0a07988fc4f0ca5e72270edff3b41aaaabf768dba59697e5f6c22199580a70, cargo-clippy-release-workspace--, cargo-clippy-release-workspace-default-, cargo-clippy-release-workspace-
|
Loading