mirror of
https://github.com/restic/restic.git
synced 2025-12-03 21:21:47 +00:00
golangci-lint: replace deprecated golint with revive
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user