#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:
skylar taylor-barrick
2026-10-22 17:16:49 -06:00
parent b0db72a731
commit 8bd6c88de0
+1 -1
View File
@@ -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:?}");
}
}