Skip to content

Fix failure on progress bar render#67

Merged
joeldrapper merged 1 commit intoyippee-fun:mainfrom
z1lk:fix-progress-bar-render
Jun 9, 2025
Merged

Fix failure on progress bar render#67
joeldrapper merged 1 commit intoyippee-fun:mainfrom
z1lk:fix-progress-bar-render

Conversation

@z1lk
Copy link
Contributor

@z1lk z1lk commented Jun 8, 2025

This resolves #66 and a related issue when running quickdraw in a directory with no tests.

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`
@joeldrapper joeldrapper merged commit f1175c5 into yippee-fun:main Jun 9, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error during progress bar render

2 participants