Add a test for retrying #831
Annotations
7 errors and 4 warnings
lint:
pkg/geoipupdate/geoip_updater_test.go#L140
Error return value of `tar.FileInfoHeader` is not checked (errcheck)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L112
octalLiteral: use new octal literal style, 0o755 (gocritic)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L159
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L178
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L188
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L122
line is 139 characters (lll)
|
lint
issues found
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L281
use-any: since GO 1.18 'interface{}' can be replaced by 'any' (revive)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L116
empty-lines: extra empty line at the end of a block (revive)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L177
empty-lines: extra empty line at the start of a block (revive)
|
lint:
pkg/geoipupdate/geoip_updater_test.go#L187
empty-lines: extra empty line at the start of a block (revive)
|