From a5c3af42ed5f88bd13156e0103f6f02eb0f1a3fb Mon Sep 17 00:00:00 2001 From: Kevin Griffin <117586586+KevinGriffin-new@users.noreply.github.com> Date: Wed, 15 Jul 2026 19:27:00 -0700 Subject: [PATCH] fix(test): pass anno_scale arg to expand_insert in text_font_rendering The annotative feature (1b037a6) added a 15th `anno_scale: f32` parameter to `scene::cache::block_cache::expand_insert` and updated the production call sites, but the text_font_rendering integration test was left at 14 arguments, so the test binary fails to compile with E0061 once rebuilt. Pass `1.0` (no annotative scaling), matching the `BlockCache::build(&doc, 1.0, ...)` call the test already uses. Co-Authored-By: Claude Opus 4.8 --- tests/text_font_rendering.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/text_font_rendering.rs b/tests/text_font_rendering.rs index c309ec835..f156412ea 100644 --- a/tests/text_font_rendering.rs +++ b/tests/text_font_rendering.rs @@ -72,6 +72,9 @@ fn expand_block_mtext( None, false, [0.0, 0.0, 0.0, 1.0], + // Annotation scale: 1.0 = no annotative scaling, matching the + // `BlockCache::build(&doc, 1.0, ...)` call above. + 1.0, ) .expect("block defn is cached") }