Commit cb5b5ce
committed
fix(msgfmt): address review — extract border helper, add slim box test, drop plans
- Extract containsHorizontalBorder() to collapse 6 inline border
checks into one — no more copy-paste miscounts on 15-char Unicode
strings
- Add msg_slim_dashed_box.txt fixture with │ prompt to exercise
findGenericSlimMessageBox's ╌ path (previously untested because
the > fixture hit findGreaterThanMessageBox first)
- Rename screen → message in test lambda for consistency
- Remove docs/plans/ from the branch1 parent 934e832 commit cb5b5ce
5 files changed
Lines changed: 19 additions & 273 deletions
File tree
- docs/plans
- lib
- msgfmt
- testdata/initialization/claude/ready
- screentracker
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
15 | | - | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
| |||
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | | - | |
| 37 | + | |
31 | 38 | | |
32 | | - | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
0 commit comments