diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ef79b88cc36356b6aaded1172dc59f3fb9cf42f..33d998b762cee71bb7d40e2104d5a5e717015692 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -138,7 +138,7 @@ clippy: - cargo clippy -- -V stage: quality script: - - cargo clippy --all -- -D warnings --verbose + - cargo clippy --all --tests -- -D warnings --verbose audit_dependencies: extends: .rust_stable_lin64 diff --git a/lib/dubp/wot/lib.rs b/lib/dubp/wot/lib.rs index e865cebcf4e9feb6c65ece228e68e9283f573fe1..56e38493378299d04e1d981b3028f26c3ca25ade 100644 --- a/lib/dubp/wot/lib.rs +++ b/lib/dubp/wot/lib.rs @@ -124,7 +124,6 @@ mod tests { wot.rem_link(WotId(0), WotId(3)); wot.rem_link(WotId(0), WotId(4)); - // false when not linked + test out of bounds assert_eq!(wot.has_link(WotId(0), WotId(6)), HasLinkResult::Link(false)); assert_eq!(