Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
f6e8ab5514 |
@ -143,7 +143,7 @@ func TestRuleGteLte(t *testing.T) {
|
||||
check(t, fail5, 1)
|
||||
}
|
||||
|
||||
func TestRuleLenMinMax(t *testing.T) {
|
||||
func TestLenMinMax(t *testing.T) {
|
||||
type s struct {
|
||||
A string `validate:"len=3"`
|
||||
B []int `validate:"min=2"`
|
||||
|
Loading…
Reference in New Issue
Block a user