Skip to content

Commit

Permalink
feat(prints): Add a WithProgressBar method.
Browse files Browse the repository at this point in the history
Signed-off-by: Flc゛ <[email protected]>
  • Loading branch information
flc1125 committed Feb 7, 2024
1 parent 3ac3f26 commit 30d0fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prints/progressbar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestNewProgressBar(t *testing.T) {
p2.Finish()
}

func TestWithProgressBar(t *testing.T) {
func TestWithProgressBar(*testing.T) {
WithProgressBar(100, func(p *ProgressBar) {
for i := 1; i <= 100; i++ {
p.Increment()
Expand Down

0 comments on commit 30d0fea

Please sign in to comment.