From 8c8eb049bb105254cbd2c305cea3773185a803f8 Mon Sep 17 00:00:00 2001 From: hnoerenberg Date: Fri, 20 Nov 2026 07:06:13 +0100 Subject: [PATCH] test(type): stop calling a red mask style test a guard `a_mask_takes_no_other_character_settings_from_the_layer` is red without this change - its last line names the font, style and size the takeover moves over - but its doc comment called it a guard test that passes before and after. The comment now says which it is; the PR text names the five tests that really are guards. --- .../src/tools/type_tool/mask_active_layer_style_tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/tools/type_tool/mask_active_layer_style_tests.rs b/crates/ui-egui/src/tools/type_tool/mask_active_layer_style_tests.rs index 0df3196cc02..93e2d94adf1 100644 --- a/crates/ui-egui/src/tools/type_tool/mask_active_layer_style_tests.rs +++ b/crates/ui-egui/src/tools/type_tool/mask_active_layer_style_tests.rs @@ -241,7 +241,8 @@ fn an_empty_active_text_layer_gives_its_style_too() { /// Not measured: which settings besides the size are taken over. Only the bar's font, style and /// size move to the mask - the active layer's leading, tracking, baseline shift and underline do -/// not. Guard test: passes before and after the change. +/// not. Red before the change like the takeover itself: its last line names the three keys that +/// move over. #[test] fn a_mask_takes_no_other_character_settings_from_the_layer() { let mut app = new_app();