ci: disable 'testpackage' linter in golangci

The 'testpackage' linter recommends "black box" testing, which prevents
testing internal/non-exported functions from being tested. We have tests
that *do* test non-exported functions and types.

Disabling the linter allows us to test non-exported types and functions.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-06-24 08:53:25 +02:00 committed by mergify[bot]
parent 3695115371
commit cb7ab307dd

View File

@ -164,3 +164,4 @@ linters:
- godox
- wsl
- funlen
- testpackage