From 318190021dcd7505bb3cde3493ae0ccdeb52d9b9 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 29 Oct 2020 11:09:08 +0100 Subject: [PATCH] Enforce the usage of github.com/stretchr/testify/require (#8129) Signed-off-by: Julien Pivotto --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index c19321d677..15f9fdcab8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,7 +19,9 @@ linters-settings: include-go-root: true packages: - sync/atomic + - github.com/stretchr/testify/assert packages-with-error-message: - 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: exclude: scripts/errcheck_excludes.txt