mirror of
https://github.com/restic/restic.git
synced 2026-10-13 13:37:12 +00:00
golangci-lint: replace deprecated golint with revive
This commit is contained in:
1 parent
2f81af6afa
commit
af31266b7d
5 files changed
+8
-8
No files matched your search
@@ -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