mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
test(ui): keep the unexpected-role assertion within test lint rules
This commit is contained in:
1 parent
9ad7b7ad87
commit
aab25d6925
1 file changed
+1
-1
@@ -314,7 +314,7 @@ fn tooltips_remain_reachable_in_narrow_bars_at_supported_scales() {
|
||||
assert_eq!(h.state().ui.tool_options.exposure, 37.0, "Exposure remains editable at {scale}x");
|
||||
}
|
||||
Role::CheckBox => assert!(!h.state().ui.tool_options.protect_tones, "Protect Tones still toggles at {scale}x"),
|
||||
_ => unreachable!("the three shared Burn/Dodge controls"),
|
||||
_ => panic!("unexpected Burn/Dodge control role: {role:?}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user