Skip to content

Commit

Permalink
📖 docs: v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
maktoobgar committed Jul 10, 2023
1 parent 17b1e09 commit 577c21c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions tests/phone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 577c21c

Please sign in to comment.