Commit b1ac911
committed
fix: Sed pattern was too greedy, eating first digit of test count
Issue: sed pattern '.*=.*\([0-9][0-9]*\) passed' was matching:
- Input: '===== 43 passed in 34.95s ====='
- Matched: '===== 4' (greedy .* consumed the 4)
- Captured: '3' (only last digit)
Solution: Match space before number instead of '='
- Pattern: '.* \([0-9][0-9]*\) passed'
- Matches: '===== 43 passed'
- Captures: '43' (all digits after last space)
Result: All platforms now show correct counts (43 passed, not 3)1 parent ff02cbb commit b1ac911
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments