diff --git a/crates/engine/src/atn_cmds/layer_props_tests.rs b/crates/engine/src/atn_cmds/layer_props_tests.rs index 25154cf611..155729923a 100644 --- a/crates/engine/src/atn_cmds/layer_props_tests.rs +++ b/crates/engine/src/atn_cmds/layer_props_tests.rs @@ -1,7 +1,4 @@ -use photocraft_psd::atn; -use serde_json::json; - -use super::{Action, Session, Skipped, enm, export, export_item, get_obj, layer_ref, pct, text, trimmed}; +use super::*; /// PhotoCraft's own roundtrip accepts a combined Set, but Photoshop applies only its rename. #[test] diff --git a/crates/io/tests/it/psd_kerning.rs b/crates/io/tests/it/psd_kerning.rs index d9fb3be6fd..8b85c4f3ba 100644 --- a/crates/io/tests/it/psd_kerning.rs +++ b/crates/io/tests/it/psd_kerning.rs @@ -224,7 +224,7 @@ fn add_type_layer(objects: &[(&str, &str)], kept: &[(&str, i32)], at: usize) -> .iter() .map(|l| { let LayerContent::Text(t) = &l.content else { panic!("not text") }; - let index = t.psd_raw.as_deref().and_then(photocraft_text::psd::text_index); + let index = t.psd_raw.as_deref().and_then(|d| photocraft_text::psd::text_index(d)); (l.name.clone(), index, t.char_runs().iter().flat_map(|r| r.style.features.iter().filter(|f| f.tag != "calt").map(|f| f.tag.clone())).collect()) }) .collect();