diff --git a/crates/ui-egui/src/icons.rs b/crates/ui-egui/src/icons.rs index fc362bce98..30b6edfb49 100644 --- a/crates/ui-egui/src/icons.rs +++ b/crates/ui-egui/src/icons.rs @@ -231,6 +231,13 @@ mod tests { assert_eq!(end_line(icon), butt_end, "the {name} cap icon marks the end of the path where the butt cap icon does"); assert!(stroke_opacity(icon) < 1.0, "the {name} cap icon's stroke is lighter than its end-of-path line"); } + // The stroke bar, everything before the end-of-path line, shows each cap differently. + let bar = |icon: &str| -> String { icon.rsplit_once("