feat(i18n): test the locales using the appropriate build flag

This commit is contained in:
Goutte 2024-01-10 16:44:52 +01:00
parent f7f98c4373
commit d362950435
2 changed files with 5 additions and 1 deletions

View file

@ -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 ********************)

View file

@ -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 (