Commit 51bb944
committed
Fix test_wrap_height expectations for increased line spacing
The descender-aware line spacing (A→Aj) correctly increases the vertical
space each line occupies. This means wrap() with height limits fits
fewer lines than before, which is the correct behavior.
Updated 3 assertions:
- Case 1: ' within height' → ' not fit within height', remaining adjusted
- Case 3: '\nwithin height' → ' not fit\n\nwithin height', remaining adjusted
- Case 2: unchanged (already correct)1 parent c1c72c7 commit 51bb944
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments