Skip to content
Snippets Groups Projects
Commit a75dc0e8 authored by Éloïs's avatar Éloïs
Browse files

[ci] clippy: check tests

parent 088e3383
Branches
Tags
1 merge request!273Elois/clippy tests
...@@ -138,7 +138,7 @@ clippy: ...@@ -138,7 +138,7 @@ clippy:
- cargo clippy -- -V - cargo clippy -- -V
stage: quality stage: quality
script: script:
- cargo clippy --all -- -D warnings --verbose - cargo clippy --all --tests -- -D warnings --verbose
audit_dependencies: audit_dependencies:
extends: .rust_stable_lin64 extends: .rust_stable_lin64
......
...@@ -124,7 +124,6 @@ mod tests { ...@@ -124,7 +124,6 @@ mod tests {
wot.rem_link(WotId(0), WotId(3)); wot.rem_link(WotId(0), WotId(3));
wot.rem_link(WotId(0), WotId(4)); wot.rem_link(WotId(0), WotId(4));
// false when not linked + test out of bounds // false when not linked + test out of bounds
assert_eq!(wot.has_link(WotId(0), WotId(6)), HasLinkResult::Link(false)); assert_eq!(wot.has_link(WotId(0), WotId(6)), HasLinkResult::Link(false));
assert_eq!( assert_eq!(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment