mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
cms: clone the built-in profile in the normalization test
This commit is contained in:
1 parent
2821d50357
commit
4b5be53aa5
1 file changed
+1
-1
@@ -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)));
|
||||
|
||||
Reference in new issue
Block a user