cms: clone the built-in profile in the normalization test

This commit is contained in:
FredApps committed 2026-11-16 00:24:15 +01:00
1 parent 2821d50357
commit 4b5be53aa5
1 file changed
+1 -1
+1 -1
View File
@@ -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)));