Commit acbf2bc
committed
test(doctor): cover C1 control-character removal in scrubDoctorErrorMessage
Add focused regression coverage for the C1 range (0x80-0x9f) removal:
- U+009B (CSI introducer) stripped, surrounding text preserved
- full C1 range 0x80-0x9f removed
- printable Unicode above C1 (accented latin, CJK, emoji) preserved
- C0 controls and DEL still stripped
Signed-off-by: lsr911 <[email protected]>1 parent 5e7a652 commit acbf2bc
1 file changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments