mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-31 05:46:46 -06:00
#826: the stroke-width test covers the Frame and Text marks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -509,6 +509,9 @@ mod tests {
|
||||
assert_eq!(mark.len(), 1, "one width at {ppp}×: {mark:?}");
|
||||
assert_eq!(widths(ppp, Icon::Chevron, CARET), mark, "caret at {ppp}×");
|
||||
assert_eq!(widths(ppp, Icon::Code, GLYPH), mark, "mode mark at {ppp}×");
|
||||
for icon in [Icon::Frame, Icon::Text] {
|
||||
assert_eq!(widths(ppp, icon, GLYPH), mark, "{icon:?} at {ppp}×");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user