diff options
Diffstat (limited to 'internal/ui/progress/updater_test.go')
-rw-r--r-- | internal/ui/progress/updater_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/ui/progress/updater_test.go b/internal/ui/progress/updater_test.go index 5b5207dd5..45db019ba 100644 --- a/internal/ui/progress/updater_test.go +++ b/internal/ui/progress/updater_test.go @@ -26,7 +26,8 @@ func TestUpdater(t *testing.T) { test.Assert(t, ncalls > 0, "no progress was reported") } -func TestUpdaterStopTwice(t *testing.T) { +func TestUpdaterStopTwice(_ *testing.T) { + // must not panic c := progress.NewUpdater(0, func(runtime time.Duration, final bool) {}) c.Done() c.Done() |