diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6b1b5f6..b945f1e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,9 @@ CHANGELOG UNRELEASED ---------- +1.3.3 (2023-07-10) +------------------ + * 🐛 fix: fixed problem on Phone number rule + fixed bug on setDefaultOn function 1.3.2 (2023-05-02) diff --git a/tests/phone_test.go b/tests/phone_test.go index ce8f68b..9ee946d 100644 --- a/tests/phone_test.go +++ b/tests/phone_test.go @@ -50,6 +50,13 @@ func TestPhone(t *testing.T) { panic: false, expected: []string{"phone failed"}, }, + { + name: "fail-3", + validator: g.Validator(g.R().Phone().SpecificMessages(galidator.Messages{"phone": "phone failed"})), + in: "+989 10 015 4789", + panic: false, + expected: []string{"phone failed"}, + }, } for _, s := range scenarios {