mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 01:47:08 -06:00
#3425: require exactly one options-bar border
The test allowed zero borders, so it would pass if the options bar lost its border altogether. It now requires exactly one, the panel's, in every theme; with the options bar's own separators restored it still fails (three lines).
This commit is contained in:
@@ -220,6 +220,6 @@ fn options_bar_has_a_single_full_width_border() {
|
||||
_ => None,
|
||||
})
|
||||
.collect();
|
||||
assert!(borders.len() <= 1, "{kind:?}: the options bar draws its own borders on top of the panel's: {borders:?}");
|
||||
assert_eq!(borders.len(), 1, "{kind:?}: the options bar has exactly one border, the panel's (its own would double it): {borders:?}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user