From 136810bee231ca660c0162cc01334809de296eb6 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Fri, 16 Oct 2026 03:15:09 +0700 Subject: [PATCH] PDF/.ai import: the tint transform test passes no ink names to space_of --- crates/pdf/src/tests_import_color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pdf/src/tests_import_color.rs b/crates/pdf/src/tests_import_color.rs index 294360b8b..3a561d723 100644 --- a/crates/pdf/src/tests_import_color.rs +++ b/crates/pdf/src/tests_import_color.rs @@ -411,7 +411,7 @@ fn inks_are_found_past_dictionary_values_the_reader_cannot_parse() { // Opened by the reader alone, without the checks of `pages::open`. let pdf = craft_pdf::syntax::Pdf::new(pdf(&[page], None)).unwrap(); let mut c = Colors::new(&pdf, vec![]); - let space = c.space_of(&format!("ColorSpace(Separation(Separation {{ tint_transform: {key} }}))"), 1); + let space = c.space_of(&format!("ColorSpace(Separation(Separation {{ tint_transform: {key} }}))"), 1, None); assert_eq!(space, Space::Inks(0), "{junk}"); let gold = c.native(space, &[1.0]).unwrap(); assert_eq!(gold.link, Some(("Gold".to_string(), 1.0)), "{junk}");