codecs: leave the TIFF pyramid test's helper name alone

This commit is contained in:
Dylan M. Taylor committed 2026-11-11 20:06:52 +00:00
1 parent 639b5d928c
commit 4a967e03ff
1 file changed
+2 -2
+2 -2
View File
@@ -117,7 +117,7 @@ fn colour_is_weighted_between_translucent_pixels() {
#[test]
fn layered_and_tagged_data_stay_on_the_full_image() {
let mut img = solid(200, 100, ChannelLayout::Rgb, SampleType::U8, 0.25);
img.icc = Some(craft_cms_free_profile());
img.icc = Some(photocraft_cms_free_profile());
img.meta.photoshop_layers = Some(vec![1, 2, 3, 4]);
img.meta.extra_samples = vec![ExtraSample { kind: 0, data: vec![9; 200 * 100] }];
let bytes = encode(&img, Format::Tiff, &pyramid()).unwrap();
@@ -133,7 +133,7 @@ fn layered_and_tagged_data_stay_on_the_full_image() {
}
/// Any bytes a decoder keeps as the ICC profile: the codec stores it without parsing.
fn craft_cms_free_profile() -> Vec<u8> {
fn photocraft_cms_free_profile() -> Vec<u8> {
(0..=255u8).collect()
}