mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
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.
This commit is contained in:
1 parent
d890b19ece
commit
8c8eb049bb
1 file changed
+2
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user