From 7d903ba8fb4e8a92f8f65ff538b4c2eac9806dbc Mon Sep 17 00:00:00 2001 From: David Mann Date: Thu, 5 Nov 2026 12:26:31 +0100 Subject: [PATCH] svg: pass the cache limits main added to import_parsed in the fallback test Co-Authored-By: Claude Opus 5.5 --- crates/io/src/svg/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/io/src/svg/tests.rs b/crates/io/src/svg/tests.rs index 3d84285c62..0a59cc661d 100644 --- a/crates/io/src/svg/tests.rs +++ b/crates/io/src/svg/tests.rs @@ -476,7 +476,7 @@ fn the_fallback_search_reads_each_font_file_once() { // Inter has no box-drawing characters; JetBrains Mono has. let svg = "I\u{2500}I"; let outlines = |parsed: Parsed| { - let layers = import_parsed("t", parsed, MAX_GROUP_DEPTH).unwrap().document.layers; + let layers = import_parsed("t", parsed, MAX_GROUP_DEPTH, None, false).unwrap().document.layers; let groups = layers.into_iter().filter_map(|l| if let LayerContent::Group(g) = l.content { Some(g) } else { None }); groups.flat_map(|g| g.children).filter_map(|l| if let LayerContent::Shape(s) = l.content { Some(s.path) } else { None }).collect::>() };