Commit f1175c5
authored
Fix failure on progress bar render (#67)
Fixes two potential runtime errors:
- `@cursor` overshooting `tests_length` which leads to a
negatively-sized "unfinished" portion of the bar
- running quickdraw in a directory with no tests, where
`progress = (0.0 / 0)` resolves to `Float::NaN`1 parent 2c5929f commit f1175c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments