mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-05 21:57:09 +02:00
Enforce the usage of github.com/stretchr/testify/require (#8129)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
6c56a1faaa
commit
318190021d
@ -19,7 +19,9 @@ linters-settings:
|
|||||||
include-go-root: true
|
include-go-root: true
|
||||||
packages:
|
packages:
|
||||||
- sync/atomic
|
- sync/atomic
|
||||||
|
- github.com/stretchr/testify/assert
|
||||||
packages-with-error-message:
|
packages-with-error-message:
|
||||||
- sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
|
- sync/atomic: "Use go.uber.org/atomic instead of sync/atomic"
|
||||||
|
- github.com/stretchr/testify/assert: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"
|
||||||
errcheck:
|
errcheck:
|
||||||
exclude: scripts/errcheck_excludes.txt
|
exclude: scripts/errcheck_excludes.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user