Skip to content

Commit

Permalink
test(ut): fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Jul 19, 2024
1 parent ce2146e commit d7ed4d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/oras/internal/display/status/progress/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ func Test_manager_render(t *testing.T) {
}
_, height := m.console.Size()
for i := 0; i < height; i++ {
m.Add()
if _, err := m.Add(); err != nil {
t.Fatal(err)
}
}
m.render()
// validate
Expand Down

0 comments on commit d7ed4d3

Please sign in to comment.