From dba66c75977c3997fd3ecb11fb9cce013bce6628 Mon Sep 17 00:00:00 2001 From: AleksanderRDL <55142567+AleksanderRDL@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:35:06 +0100 Subject: [PATCH] Clippy --- src/model_objects/component.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/model_objects/component.rs b/src/model_objects/component.rs index 64500434..66a2d26c 100644 --- a/src/model_objects/component.rs +++ b/src/model_objects/component.rs @@ -615,14 +615,14 @@ mod tests { test_comp.remove_update(unused_clocks); } - assert!(test_comp.declarations.clocks.contains_key("y"), false); - assert!(used_clocks.contains("y"), false); + assert!(!test_comp.declarations.clocks.contains_key("y")); + assert!(!used_clocks.contains("y")); - assert!(test_comp.declarations.clocks.contains_key("z"), false); - assert!(used_clocks.contains("z"), false); + assert!(!test_comp.declarations.clocks.contains_key("z")); + assert!(!used_clocks.contains("z")); - assert!(test_comp.declarations.clocks.contains_key("k"), false); - assert!(used_clocks.contains("k"), false); + assert!(!test_comp.declarations.clocks.contains_key("k")); + assert!(!used_clocks.contains("k")); } #[test]