From 558925a8520a570a2565730fdefe4b2d518018d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vic=20Sh=C3=B3stak?= Date: Sun, 21 Mar 2021 00:55:15 +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 683a2dd..bd4e139 100644 --- a/validator_test.go +++ b/validator_test.go @@ -8511,7 +8511,7 @@ func TestTranslations(t *testing.T) { fe = errs[0] Equal(t, fe.Tag(), "gt") Equal(t, fe.Namespace(), "Test2.Value") - Equal(t, fe.Translate(trans), "Key: 'Test2.Value' Error:Field validation for 'Value' failed on the 'gt' tag") + Equal(t, fe.Translate(trans), "key: 'Test2.Value', error: field validation for 'Value' failed on the 'gt' tag") } func TestTranslationErrors(t *testing.T) {