From 79fec6d855d9abccd46aa491ce39058a8a26c6d6 Mon Sep 17 00:00:00 2001 From: phonedu <135960865+phonedu@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:03:33 +0800 Subject: [PATCH] M13: drop an unused variable from the hidden-nodes test --- crates/engine/src/design/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/design/tests.rs b/crates/engine/src/design/tests.rs index 099eba7e7..f6dd06600 100644 --- a/crates/engine/src/design/tests.rs +++ b/crates/engine/src/design/tests.rs @@ -821,7 +821,7 @@ fn a_limit_reached_by_hidden_nodes_is_not_truncation() { doc.get_mut(id).unwrap().visible = false; } } - let badge = id(&ex(&mut s, "text.create", json!({"text": "0", "x": 0.0, "y": 0.0, "props": {"fill": "#FFFFFF"}}))); + ex(&mut s, "text.create", json!({"text": "0", "x": 0.0, "y": 0.0, "props": {"fill": "#FFFFFF"}})); // Exactly limit visible nodes were audited; the stacked hidden ones are skips, not unchecked // work, so the walk is whole and the badge's finding stands on its own. let r = ex(&mut s, "design.audit", json!({"scope": "page", "limit": 1_001, "rules": ["color.contrast"]}));