From 4b5be53aa5c3f0bdb1847aca9217a7cb26047b05 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Mon, 16 Nov 2026 00:24:15 +0100 Subject: [PATCH] cms: clone the built-in profile in the normalization test --- crates/cms/src/normalize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cms/src/normalize.rs b/crates/cms/src/normalize.rs index 2ce575d05..85d690783 100644 --- a/crates/cms/src/normalize.rs +++ b/crates/cms/src/normalize.rs @@ -110,7 +110,7 @@ mod tests { #[test] fn real_profile_preserves_color_tags_and_legacy_bytes() { - let encoded = crate::Builtin::Srgb.profile().with_encoded_bytes(); + let encoded = crate::Builtin::Srgb.profile().clone().with_encoded_bytes(); let input = encoded.to_bytes().to_vec(); let normalized = normalize_for_embedding(input.clone()); assert_eq!(normalized, legacy::align_tags(&legacy::fixed_date(input)));