From 50340011f5c819c0d6e27b6bdcf0cb53e47106a7 Mon Sep 17 00:00:00 2001 From: vangel76 Date: Tue, 3 Nov 2026 01:53:16 +0100 Subject: [PATCH] Follow-up to #2911: clippy in the OpenEXR round-trip test Co-Authored-By: Claude Opus 5.5 --- crates/export/tests/it/roundtrip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/export/tests/it/roundtrip.rs b/crates/export/tests/it/roundtrip.rs index e27434248..bba9fc2bd 100644 --- a/crates/export/tests/it/roundtrip.rs +++ b/crates/export/tests/it/roundtrip.rs @@ -361,7 +361,7 @@ fn exr_compressions_and_bit_depths_round_trip() { let reference = render(ExrCompression::None, ExrBitDepth::Float); let (want, _) = exr_samples(&reference); let want_pooled = pooled(&reference); - assert!(want.iter().any(|v| *v > 0.5) && want.iter().any(|v| *v == 0.0), "the frame has red, background and transparent corners"); + assert!(want.iter().any(|v| *v > 0.5) && want.contains(&0.0), "the frame has red, background and transparent corners"); for d in ExrBitDepth::ALL { let ty = if d == ExrBitDepth::Half { SampleType::F16 } else { SampleType::F32 }; for c in ExrCompression::ALL {