golangci-lint: replace deprecated golint with revive

This commit is contained in:
Michael Eischer
2022-03-28 22:33:17 +02:00
parent 2f81af6afa
commit af31266b7d
5 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ func TestCounter(t *testing.T) {
func TestCounterNil(t *testing.T) {
// Shouldn't panic.
var c *progress.Counter = nil
var c *progress.Counter
c.Add(1)
c.Done()
}