From ae7471aa0a550064cb49734d7b5bf2e83ae41132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vic=20Sh=C3=B3stak?= Date: Sun, 21 Mar 2021 00:58:41 +0300 Subject: [PATCH] Fix validator_test.go --- validator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator_test.go b/validator_test.go index bd4e139..40abb67 100644 --- a/validator_test.go +++ b/validator_test.go @@ -8480,7 +8480,7 @@ func TestTranslations(t *testing.T) { nl := nl.New() uni2 := ut.New(nl, nl) trans2, _ := uni2.GetTranslator("nl") - Equal(t, fe.Translate(trans2), "Key: 'Test.Value' Error:Field validation for 'Value' failed on the 'required' tag") + Equal(t, fe.Translate(trans2), "key: 'Test.Value', error: field validation for 'Value' failed on the 'required' tag") terrs := errs.Translate(trans) Equal(t, len(terrs), 1)