Skip to content

resolve #84 - #85

Merged
ctongfei merged 2 commits into
ctongfei:0.9.0from
AndreiNekrasOn:patch-1
Sep 14, 2020
Merged

ctongfei merged 2 commits into
ctongfei:0.9.0from
AndreiNekrasOn:patch-1

Conversation

@AndreiNekrasOn

Copy link
Copy Markdown
Contributor

DefaultProgressBarRenderer.render was raising ArithmeticException, because length had value 0.
To fix it, I adjust maximum length of suffix and prefix, so length is at least 1.
Also wrote test for this behavior.

@ctongfei

Copy link
Copy Markdown
Owner

@AndreiNekrasOn Thanks for the contribution! This will be merged in the next version.

@ctongfei ctongfei added this to the 0.9 milestone Aug 26, 2020
@ctongfei
ctongfei changed the base branch from master to 0.9.0 September 14, 2020 20:06
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.

2 participants