From 7df4ffd1ab800a41d63a5f00645f7093141c03d0 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Mon, 12 Jun 2023 22:20:10 -0500 Subject: [PATCH] tests ~ fix `cargo clippy` complaint (*allow* clippy::redundant_clone) --- tests/integration_test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 69bb9f8..49f0702 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -48,6 +48,7 @@ fn platform_no_invisible_contents() -> Result<(), String> { #[test] fn platform_clone() -> Result<(), String> { let info = PlatformInfo::new().unwrap(); + #[allow(clippy::redundant_clone)] // ignore `clippy::redundant_clone` warning for direct testing let info_copy = info.clone(); println!("{:?}", info); assert_eq!(info_copy, info);