diff --git a/Makefile b/Makefile index 87d1228b..2c75209a 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,8 @@ lint: test: install_deps $(info ******************** running tests ********************) - LANGUAGE="en" go test -v ./... + go test -v ./... + LANGUAGE="en" go test -tags locales -v ./... richtest: install_deps $(info ******************** running tests with kyoh86/richgo ********************) diff --git a/localizer_test.go b/localizer_test.go index 44ef594c..41e28faa 100644 --- a/localizer_test.go +++ b/localizer_test.go @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build locales +// +build locales + package cobra import (